what is Complex index. how to create it?

Answer Posted / reddibasha

Do you mean Composite Index?

Composite index is the index created on multiple columns of
a table. A maximum of 16 columns can be used as a composite
index. It can be created at table level only. Unique,
Primary Key and Foreign Key can be composite keys.

Ex:
Create table emp
(eno number,
ename varchar(5),
dob date,
sal number,
dno number,
Primary Key(eno, ename) -- Composite Index
);

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the file extension accdb stand for?

542


What pl/sql package consists of?

628


Can cursors be part of a trigger body?

1104


Is it important to partition hard disk?

526


How many triggers can be applied on a table?

498






How to download oracle sql developer?

650


What is cross join sql?

492


What do you mean by stored procedures?

541


what are the nonstandard string types? : Sql dba

595


Can delete statement be rollbacked?

518


what is a cursor? : Sql dba

548


Can variables be used in sql statements?

548


What is user in sql?

567


What is sqlerrm?

538


What are the three forms of normalization?

520