Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Problem with with insert select from clause
You can use export then import using fromuser= touser=. Or use the copy
command in SQL*Plus (however, long data >32K will be truncated).
Functions don't work with longs, if sqlid is the long that would explain
the error.
Suzy
Helmut Daiminger wrote:
>
> Hi!
>
> Are there any limitations to using the LONG datatype in an insert/select
> statement?
>
> insert into scott.tbsql
> select * from demo.tbsql where sqlid between 6117 and 6123
>
> select * from demo.tbsql where sqlid between 6117 and 6123
> *
> ORA-00997: illegal use of LONG datatype
>
> Is there another way that I can move that data in the same table in another
> user's schema?
>
> Thanks,
> Helmut
>
> --
> Author: Helmut Daiminger
> INET: hdaiminger_at_vivonet.com
>
> 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: ListGuru_at_fatcity.com (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).
Received on Thu Sep 14 2000 - 14:48:34 CDT
![]() |
![]() |