select index_name, column_name from dba_ind_columns where index_name = 'SYS_IOT_TOP_128290';
INDEX_NAME COLUMN_NAME
------------------------------ ------------------------------
SYS_IOT_TOP_128290 A
Where is the column owner?
When i issue a query on my iot, it only access the object SYS_IOT_TOP_128290.
When i query SYS_IOT_TOP_128290, in dba_ind_columns, only column a show up. Not owner.
Where does the column owner is stored?
06-06-2007, 09:18 AM
dbasan
Its in DBA_TABLES, ALL_IND_COLUMNS
06-06-2007, 09:19 AM
PAVB
Columns do not have an owner, objects do.
Follows layout of the view you are quering...
Code:
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
DESCEND VARCHAR2(4)
06-06-2007, 09:47 AM
Bore
Did not got u. As PAVB said, columns does not have an owner. They belongs to a table and the table has owner.