Can Somebody tell me the difference between Clustered & Non-
Clustered Index??

Answer Posted / anjan ghosh

when we create index then we assign a primary or unique
field , after insert of records , the results is
clustered--(field) order by
nonclustered--no order(logical order)

create table nonclusterindex(Emid int,data varchar(800))
create table clusterindex(Emid int,data varchar(800))

create unique nonclustered index nonclusterindex_emid on
nonclusterindex (Emid)

create unique clustered index clusterindex_emid on
clusterindex (Emid)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Distinguish between nested subquery and correlated subquery?

554


How to download microsoft sql server 2005 express edition?

580


What are the properties and different types of sub-queries?

568


what is the difference between Delete and Truncate command in SQL

632


What are horizontal and vertical scaling?

146






Can sql servers link to other servers like oracle?

474


Write the syntax for stuff function in an sql server?

538


What command would you use to add a column to a table in sql server?

754


Can we perform backup restore operation on tempdb?

571


How to backup SQL Server Reporting Services ?

103


How do you check sql server is up and running?

516


What are views in ms sql server?

601


How do I clean up sql server transaction log?

574


can an automatic recovery be initiated by a user? : Sql server administration

524


What are sql azure firewall rules?

85