Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Drop ALL Tables!!How??
I am new to PL/SQL, I have tried to write a script to drop all tables as
follow but enter a runtime error.
What wrong is It?
Thanks a lot!!
Begin
for curTable in (select table_name from user_tables) loop
DROP TABLE CURTABLE.TABLE_NAME;
end loop;
END;
Received on Mon Sep 28 1998 - 09:54:40 CDT