oracle中如何根據(jù)主鍵定位表?
根據(jù)主鍵定位表的例子如下:
select * from user_constraints a,USER_CONS_COLUMNS b where a.CONSTRAINT_TYPE='P' and a. constraint_name=b.constraint_name and a.constraint_name='主鍵名';
oracle中如何根據(jù)主鍵定位表?
根據(jù)主鍵定位表的例子如下:
select * from user_constraints a,USER_CONS_COLUMNS b where a.CONSTRAINT_TYPE='P' and a. constraint_name=b.constraint_name and a.constraint_name='主鍵名';