随笔-13  评论-28  文章-63  trackbacks-0
1:在oracle 中查看关联表
select u1.CONSTRAINT_NAME, u1.TABLE_NAME as table_, u2.TABLE_NAME as reference_ 
 from user_constraints u1, user_constraints u2 
 where  
 u1.constraint_type='R' and 
u1.R_CONSTRAINT_NAME = u2.CONSTRAINT_NAME and 
u2.table_name='MVS_B_STUDENT'
posted on 2009-03-04 17:29 七匹狼 阅读(158) 评论(0)  编辑  收藏 所属分类: oracle

只有注册用户登录后才能发表评论。


网站导航: