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: Copying some rows from a table having a long datatype

Re: Copying some rows from a table having a long datatype

From: William Beilstein <BeilstWH_at_OBG.com>
Date: Wed, 31 Jan 2001 15:03:23 -0500
Message-Id: <10758.127950@fatcity.com>


You can't use the insert select with long, check out the COPY command

>>> "Kumar, Dharminder" <Dharminder.Kumar_at_bmonesbittburns.com> 01/31/01 =
02:32PM >>>
Hi,
I have a requirement like mentioned bellow.

Table A

Columns	datatype
col1		number
col2		long

Table B
col1		number
col2 		long

I need to put some rows from table A to table B. If I use the sqlplus=20

sqlplus>insert into A select * from B where B.col1 < 50; I get the following error.

ORA-00997: illegal use of LONG datatype

Is there any other way to accomplish this goal.

Thanks.

Dharminder Kumar

--=20
Please see the official ORACLE-L FAQ: http://www.orafaq.com=20 --=20
Author: Kumar, Dharminder
  INET: Dharminder.Kumar_at_bmonesbittburns.com=20

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 Wed Jan 31 2001 - 14:03:23 CST

Original text of this message

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