Search
 
SCRIPT & CODE EXAMPLE
 

SQL

select index table oracle

SELECT *
FROM ALL_INDEXES			-- or DBA_INDEXES or USER_INDEXES
WHERE TABLE_NAME = 'MY_TABLE' AND OWNER = 'MY_OWNER';

-- Indexes columns
SELECT TABLE_NAME, INDEX_NAME, COLUMN_NAME
FROM DBA_IND_COLUMNS		-- or ALL_IND_COLUMNS
WHERE TABLE_OWNER = 'MY_OWNER' AND TABLE_NAME = 'MY_TABLE'
ORDER BY TABLE_NAME, COLUMN_POSITION;
Comment

how to select an index in oracle sql

SELECT  *
FROM    all_indexes
WHERE   table_name = 'COUNTRY';
Comment

PREVIOUS NEXT
Code Example
Sql :: execute sp in sql server 
Sql :: create scalar function in sql server 
Sql :: sql formats 
Sql :: allow null in psql 
Sql :: dump heroku database to sql 
Sql :: data formate in sql 
Sql :: lack create session privilege oracle 
Sql :: SQL Multi-line Comments 
Sql :: mysql create procedure phpmyadmin 
Sql :: mysql: command not found 
Sql :: oracle nvl 
Sql :: sql time format 
Sql :: create table query in mysql 
Sql :: SQL check if record exist 
Sql :: invalid column name sql 
Sql :: mysql create table query 
Sql :: how to write uppercase in sql 
Sql :: ON DUPLICATE KEY UPDATE for postgres 
Sql :: sqlite show columns 
Sql :: ms sql mac 
Sql :: create function in sql 
Sql :: install mysql for fedora 34 
Sql :: postgres sum when 
Sql :: insert into table from another table 
Sql :: update select mysql 
Sql :: sql where contains part of string 
Sql :: len sql 
Sql :: how to join three tables in sql using joins 
Sql :: identity syntax in sql 
Sql :: mysql concat and use as where column 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =