SQL_8
SQL_8
SESSION # : 8
IMPLEMENTING
INDEXES
Focus Points :
Indexes
Clustered Indexes
Non clustered indexes
Contents
Indexes
Clustered indexes
Unique indexes
Non Clustered indexes
Indexes
Clustered indexes sort and store the data rows in the table
or view based on their key values. These are the columns
included in the index definition.
There can be only one clustered index per table,
because the data rows themselves can be sorted in only one
order.
The only time the data rows in a table are stored in sorted
order is when the table contains a clustered index.
When a table has a clustered index, the table is called a
clustered table. If a table has no clustered index, its data
rows are stored in an unordered structure called a heap.
How clustered indexes work
Indexes
Clustered indexes
Unique indexes
Non Clustered indexes