Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help me on CLOB, XML and "&" character
It worked however I got different error: SP2-0734: unknown command beginning "<PUB>The F..." - rest of line ignored. SP2-0042: unknown command "</PUB>" - rest of line ignored.
How do I change the QUOTE for inserting data ? beacuse I think it's the problem since the XML data has multiple QUOTE in it.
Here some of samples XML Data I'm going to put on database:
<DOC> <DOCNO>FT911-1</DOCNO> <PROFILE>_AN-BENBQAD8FT</PROFILE> <DATE>910514 </DATE> <HEADLINE>
</TEXT> <PUB>The Financial Times </PUB> <PAGE>
In article <t9hsreg4h8i2d6_at_corp.supernews.com>, "Richard Sutherland" <rvsutherland_at_yahoo.com> wrote:
> Within SQL*Plus and before starting your script, enter
>
> set define off
>
> This will prevent SQL*Plus from searching for substitution characters.
>
> HTH
>
> Richard Sutherland
>
> Ronggolawe <radenjava_at_theglobe.com> wrote in message
> news:20010225.035116.1171.458_at_theglobe.com...
>> Hi, can anyone help me with this problem ? I'm trying to insert a bunch >> of XML data to Oracle 8i, so I create table docs with column (id >> number, xmldata CLOB). However some of the XML data has some character >> such as >> & and USF&G, thus when I execute sql script for inserting the data >> using sqlplus it giving me some error such as: Enter value for amp: >> Enter value for g: Can anyone tell me how can I excecute the script >> withoutsqlpus reading