Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: To make a copy of a table
I do not understand why you need to do this, but anyway create a PL/SQL with a cursor
CURSOR source_table IS
SELECT * FROM t1
ORDER BY colx;
BEGIN
FOR i IN source_table LOOP
INSERT INTO t2 (c1, c2, c3, bla, bla);
![]() |
![]() |