I'm trying to import data that contains a lot of "&" signs and other special
characters with sql-loader.
To be able to insert such data I need to execute the command "set define
off" first. The problem is that it seems that one can't define such a
statement whithin SQL-loader. Also I have no idea how to make the
set-command last for ever (now I need to execute the "set define off"
command everytime I log on to SQL+).
Can anyone help me with this?
Tanks.
Also try "set scan off" - not sure if that'll help or not but give it a try.
Not sure if this will work but assuming the '&' is defined in the INIT file for
the database, you can also try finding the database's INIT file (probably in
$ORACLE_HOME/dbs) and change the '&' to some other special character, like a
tilde (~) until you are finished and then change it back again. You will need
to bounce the database for each change to take effect.
Or, just change your file to have the & replaced by a tilde and then after you
get the data into the database, change it back again.
-Matt
Regards,
Sybrand Bakker, Oracle DBA
"Matt B." <m...@ds.znet.com> wrote in message
news:t6jopl2...@corp.supernews.com...