Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01461 - when updating data >4KB into LONG datatype

Deepak PushkarnaJul 7 2010 — edited Jul 8 2010
Hi All,

Please help..

Running into an issue with the 11g upgrade. Our platform generates on occasion long character data over 4 kb in length (Long datatype). Prior to the 11g upgrade, the backward compatibility support for Long data types existed, and the program functioned without error as it was able to update >4k of data into a long column.

But after upgrading to Oracle 11gR2 we are getting an ORA error (ORA-01461 - can bind a LONG value only for insert into a LONG column).

The PL/SQL is as below..

DECLARE
myclob LONG ;
BEGIN
myclob:='select -----'
ELSE
dbms_output.put_line('1111111');
update RpsQuery set Query=myclob where ---;
END IF;
END;

Thanks & Regards,

Deepak
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2010
Added on Jul 7 2010
4 comments
1,451 views