Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-00997: How to copy the data from a table to another using long type
I'm not sure if I missed something, but according to your original
post you where trying to insert content.xml into content2.newfield.
I think the two datatypes just don't mix. If you had used insert into content2 select id_content, data_contenuto, null, xml from content;
this should have worked as well - but I might stand corrected there.
Regards,
Holger
Paolo Quaglia wrote:
> I have Oracle 8.1.7 > I solved my problem Using the copy command: > in my example the right answer could be: > > COPY FROM contentoracle/contentoracle_at_ora8 INSERT > content2(id_content,data_contenuto,xml) USING select > id_content,data_contenuto,NULL,xml FROM content; > > But I Agree with you that long could be replaced with clob object .... but I > have this DB ;-(( > > Any way, Thanks very much > > Paolo > > "Paul Brewer" <paul_at_paul.brewers.org.uk> ha scritto nel messaggio > news:3ddd6f8d_3_at_mk-nntp-1.news.uk.worldonline.com... >
> > >
-- ------------------------------------------------------------------ Holger Baer | e-mail: holger.baer_at_science-computing.de science+computing ag | www: http://www.science-computing.de Hagellocher Weg 71-75 | phone: +49 (0)7071-9457-587 D-72070 Tuebingen | fax: +49 (0)7071-9457-110 ------------------------------------------------------------------Received on Fri Nov 22 2002 - 07:15:44 CST