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、查找表的主键(包括名...
原创
2014-06-12 16:19:14 ·
1015 阅读 ·
0 评论