Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> LONG datatypes - what's the trick?
I have two tables, each defined with a primary key, and a single column of
LONG datatype. These are simple long text columns, designed to store
copious notes
Why can't I say:
UPDATE table2
set table2.long_col =
(Select table1.long_col
where table1.primary_key = table2.primary_key )
WHERE exists
(Select 1
from table1 where table1.primary_key = table2.primary_key) ;
The error message I'm getting is:
ORA-00997: illegal use of LONG datatype
Is this kind of update statement not allowed? What are my options here?
Paul Horan Received on Thu Mar 04 1999 - 08:45:34 CST
![]() |
![]() |