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!

is it possible to use replace function on long data type inside a trigger?

user13710379Feb 22 2012 — edited Feb 23 2012
HI,

is it possible to use replace function on long data type inside a trigger?

we had enhancement for column to support 6000 characters so we changed the column data type from varchar2 to long.

Tables got altered successfully,but a trigger which uses this column in getting failed while compiling.Is there any other way to handle this replace functionality on long datatype?

example:
select replace(:new.fft_ins_descr ,chr(13),chr(10)) into
l_fft from dual;


here fft_ins_descr is of long data type.

Thanks & regards
Suresh M
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2012
Added on Feb 22 2012
10 comments
3,630 views