declare cursor c_t is select table_name from user_tables;
table_name user_tables.table_name%type;
begin open c_t;
loop fetch c_t into table_name;
exit when c_t%notfound;
execute immediate 'delete from ' || table_name;
end loop;
close c_t;
end;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2022-03-02
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-06-19
  • 2021-12-21
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案