4、NSTRAINT_TYPE='P'; CONSTRAINT_NAME TABLE_NAME COLUMN_NAME------------------------------------------ -------------SYS_AAA AAA ID //查找索引selectindex_name,index_type,uniquenessfromuser_indexeswheretable_name='
5、AAA';INDEX_NAME INDEX_TYPE UNIQUENES------------------------------------------------------------------SYS_AAA NORMAL UNIQUE//查找索引有那些列SQL>selectINDEX_NAME,column_namefromdba_ind_columnswheret