--tables
select 'tables-'|| count(*)from user_tables;
--views
select 'views-'||count(*) from user_views;
--seqs
select 'seqs-'||count(*) from user_sequences;
--functions
select 'functions-'||count(*) from user_objects where object_type='FUNCTION';
--procedure
select 'procedure-'||count(*) from user_objects where object_type='PROCEDURE';
--package
select 'package-'||count(*) from user_objects where object_type='PACKAGE';
Oracle查询当前用户下的所有表、视图、序列、函数、存储过程、包分别有几个
最新推荐文章于 2024-01-13 15:57:57 发布