Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Problem with with insert select from clause

Re: Problem with with insert select from clause

From: Priyanka Deswal <pdeswal_at_velos.ssind.com>
Date: Fri, 15 Sep 2000 13:01:39 +0530
Message-Id: <10620.117066@fatcity.com>


You cant do a select on a table column having datatype long.You will have to write a PL/SQL block (use cursor).
Regards
Priyanka
pdeswal_at_velos.ssind.com
"Whoever is careless with the truth in small matters cannot be trusted with important matters."

> 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 Fri Sep 15 2000 - 02:31:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US