Whew...my old failing memory is not totally useless...
-----Original Message-----
Sent: Wednesday, May 22, 2002 7:04 PM
To: Multiple recipients of list ORACLE-L
Because of the LONG you need to instead use the SQL*Plus COPY command.
COPY
----
COPY copies data from a query to a table in a local or remote
database.
COPY {FROM database | TO database | FROM database TO database}
{APPEND|CREATE|INSERT|REPLACE} destination_table
[(column, column, column, ...)] USING query
where database has the following syntax:
username[/password]@connect_identifier
Before running COPY, you might need to set/adjust a few SQL*Plus
settings (ARRAYSIZE and MAXDATA), and also 'set long 999999'.
Suzy
Sridhar Moparthy wrote:
>
> Hi,
>
> I have a table 'x' with one of the column as 'LONG'
> I would like to copy the data from the above table 'x' into a different
> table 'Y' with the same structure.
>
> When I tried "insert into x select * from y" I am getting
> "Illegal use of LONG data type".
>
> Could any one please help me to move the data?
>
> Thanks
> Sridhar.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Sridhar Moparthy
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Suzy Vordos
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Grabowy, Chris
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).