String functions on Long column [message #379357] |
Tue, 06 January 2009 03:21  |
ramya29p
Messages: 146 Registered: November 2007 Location: Chennai
|
Senior Member |
|
|
Hi ,
can anyone tell me how to use string functions like replace,substr on LONG Datatype column..?
i tried with execute immediate but getting error.
SQL> /
declare
i varchar2(20) := 'STPMTTS1006000E9';
begin
execute immediate 'select to_lob(notification_message) from gwtb_notifications_log where pkey_values=:1' using i;
end;
ORA-00932: inconsistent datatypes: expected - got LONG
ORA-06512: at line 4
|
|
|
|
|
|
|