oralce复习20190514

SELECT 'DROP '||table_name||' AS'||' CASCADE;'  as dropsql FROM  DBA_tables where owner=upper('scott')

 

--查询当前用户下的所有表

 select * from user_tables; 

posted on 2019-05-14 00:49  joeshang  阅读(111)  评论(0编辑  收藏  举报

导航