Oracle的數(shù)據(jù)庫(kù)對(duì)象分為五種:表,視圖,序列,索引和同義詞。
select * from user_tables -- 當(dāng)前用戶下有多少?gòu)埍?br /> select * from user_views -- 當(dāng)前用戶下有多少?gòu)堃晥D
select * from user_sequences; --查詢序列
select * from user_indexes; -- 查詢索引
select * from user_constraints -- 當(dāng)前用戶下有多少約束
select * from dictionary --數(shù)據(jù)字典表的表
select * from user_tables -- 當(dāng)前用戶下有多少?gòu)埍?br /> select * from user_views -- 當(dāng)前用戶下有多少?gòu)堃晥D
select * from user_sequences; --查詢序列
select * from user_indexes; -- 查詢索引
select * from user_constraints -- 當(dāng)前用戶下有多少約束
select * from dictionary --數(shù)據(jù)字典表的表