Oracle 查询表字段属性的方法
1、查找表的所有索引(包括索引名,类型,构成列):
select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name = i.index_name and t.table_name = i.table_name and t.table_name = 要查询的表
2、查找表的主键(包括名
转载
2013-05-06 09:09:33 ·
1219 阅读 ·
0 评论