Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we create clustered index on non primary key column

Answer Posted / kaushik ganguly

We know sql server creates a clustered index by default
when we create a primary key. If you create a PK first and
then try to assign a candidate key a clustered index then
it is not possible bcos sql server allows one clustered
index per table.

But...

If you make a candidate key a clustered index and then
define the primary key sql server doesnot create clustered
index for the Primary Key column.

So the answer is yes...you can create a clustered index on
non-pk column :D

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a constant or literal in ms sql server?

1040


What is a full text index?

916


Some queries related to SQL

977


what method you can use to reduce the overhead of Reporting Services data sources?

253


What is buffer cash in sql server?

1148


What are logical/boolean operations in ms sql server?

1031


what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration

1040


How can we determine what objects a user-defined function depends upon?

992


Sql server reporting services vs. Crystal reports.

131


What are the different types of replication are there in sql server 2000?

1033


What is used to replicate sessions between instances in coldfusion clusters?

1066


Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?

118


What is the difference between indexing and hashing?

1156


Does table partitioning improve performance?

956


What is stretch database in sql server?

1060