user_cons_columns
user_ind_columns.
[@more@]
select constraint_name AS PK, column_name, position from sys.user_cons_columns where constraint_name =
(select constraint_name from sys.user_constraints where table_name='R_CARTON_LIST_T' and constraint_type='P'
and owner='SFISM4') ;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-1002253/
,如需转载,请注明出处,否则将追究法律责任。