Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Moving LONG RAWs between tables
Can anyone help me with a small problem.
I am attempting to copy the contents of LONG RAW column from one table in to the LONG RAW column of another.
Currently I am using a simple PL/SQL procedure, namely:
create or replace procedure migrate
is
begin
for c in
(select data from table1)
loop
insert into table2
(new_data)
values
(c.data);
end loop;
end;
Although this is working, it appears that it is only moving the first 32K - which I presume is the limit on the variables for LONG RAWs in PL/SQL. Is PL/SQL implictly using a variable in this case?
Does anyone know a better/quicker way for doing this?
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Jul 22 1999 - 10:23:10 CDT
![]() |
![]() |