oracle常见表

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29956725/article/details/85276773

1.    user_tables  用户表

select 'drop table '||a.TABLE_NAME||';' from user_tables a;

2. user_sequences (序列)

3. user_views(视图)

4. user_constraints 具有外键的表

select 'alter table ' || table_name || ' disable constraint ' || constraint_name || ';'
from user_constraints
where constraint_type = 'R';

5. user_types(用户自定义类型)

6. user_procedures(用户存贮过程)

7. user_jobs(用户job)

猜你喜欢

转载自blog.csdn.net/qq_29956725/article/details/85276773