标签:
declare cursor cur is select table_name from user_tables; currow cur%rowtype; str varchar(2000); begin for currow in cur loop str:=‘truncate table ‘||currow.table_name; execute immediate str; dbms_output.put_line(str); end loop; end;
标签:
原文地址:http://www.cnblogs.com/bweb/p/4864668.html