Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Which cols are part of the primary key?
minor change in line 7 for 10gR2:
"and di.index_owner = dc.owner"
SQL> desc dba_ind_columns
Name Null? Type ----------------------------------------- -------- ---------------------------- INDEX_OWNER NOT NULL VARCHAR2(30) INDEX_NAME NOT NULL VARCHAR2(30) TABLE_OWNER NOT NULL VARCHAR2(30) TABLE_NAME NOT NULL VARCHAR2(30) COLUMN_NAME VARCHAR2(4000) COLUMN_POSITION NOT NULL NUMBER COLUMN_LENGTH NOT NULL NUMBER CHAR_LENGTH NUMBER DESCEND VARCHAR2(4)Received on Thu Mar 23 2006 - 04:31:57 CST