Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle show index columns

SELECT TABLE_NAME, INDEX_NAME, COLUMN_NAME
FROM DBA_IND_COLUMNS			-- or ALL_IND_COLUMNS
WHERE TABLE_OWNER = 'MY_SCHEMA' AND TABLE_NAME = 'MY_TABLE'
ORDER BY TABLE_NAME, COLUMN_POSITION;
Source by dba-oracle.com #
 
PREVIOUS NEXT
Tagged: #oracle #show #index #columns
ADD COMMENT
Topic
Name
5+9 =