How To Workaround Error: Ora-00997: Illegal Use Of Long Datatype
(Doc ID 361716.1)
Last updated on DECEMBER 09, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 9.2.0.6 to 9.2.0.8 [Release 9.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
ORA-997
Goal
How to work around the restriction of inserting into a table containing a LONG / LONG RAW field using a SELECT.
SQL Being used
-----------------
SQL> insert into LONG_TABLE1 select * from LONG_TABLE2 where FIELD1 > 100;
Error:
------------
ERROR at line 1:
ORA-00997: illegal use of LONG datatype
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |