| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Can't update 4K long datatype in PL/SQL
I want update a long datatype in my table .
my procedure:
v_detail varchar2(10000);
l_detail long;
cursor c_mbox is select rowid, name, detail from mbox;
BEGIN
v_detail :=c1.detail;
l_detail:=replace(v_detail,'(',chr(13)||chr(10));
update mbox set detail=l_detail where rowid=c1.rowid;
end loop;
when the detail < 4K the update can work.
if the detail > 4K , It's tell me
ORA-01461 can bind a LONG value only for insert into a LONG column
Thanks for you help
Leirace
--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Thu May 20 1999 - 22:17:36 CDT
![]() |
![]() |