How many index keys possible for a table

Answer Posted / c.jagadish

In sqlserver we have two types of indexes (1) Clustered (2)
non clustered indexes.

Indexes may be simple index or composite index.

Index formed based on single column values is called simple
index

index formed based on multiple column values is called
composite index.

Default index is NON CLUSTERED INDEX

When a table contains a primary key column then sqlserver
automatically creates a unique clustered index.

Unique--- automatically creates a non clustered index

so for this reason PRIMARY KEY IS NOT EQUAL TO UNIQUE + NOT
NULL.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

114


List some major differences between triggers and stored procedures?

516


What is a ddl statement?

511


Explain the concept of view and Types of views in SQL server?

615


What Is Rdbms?

671






How to concatenate two binary strings together?

605


What are the different index configurations a table can have?

507


Explain collation?

618


What is a trigger and types of a trigger?

562


Explain the different types of joins?

562


What are trace files?

527


Can binary strings be used in arithmetical operations?

522


what is the difference between count(*) and count(1) ?

625


What does set rowcount do?

508


What is 1nf normalization form?

586