SQL Tutorial : INDEXES
Let's learn about next topic: INDEXES
INDEXES:
*********
- USED FOR IMPROVING THE PERFORMANCE BY FETCHING THE
DATA FASTER
BASIC TYPES:
1.B-TREE INDEX
2.BIT MAP INDEX
- WHEN A PRIMARY KEY AND UNIQUE KEY CONSTRAINTS ARE CREATED
AUTOMATICALLY UNIQUE INDEX IS CREATED
NON -UNIQUE INDEX:
**********************
- CREATE INDEX EMP_INX
ON EMPLOYEES
(LAST_NAME)
FUNCTION BASED INDEX:
*************************
- CREATE INDEX EMP_INX
ON EMPLOYEES
INITCAP (LAST_NAME)
Dropping an Index:
DROP INDEX EMP_INX
DD: USER_INDEXES
No comments:
Post a Comment