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 / pavan kumar

YES, We can create a clustered index on a non-primary
column. Check the folowing queries...

CREATE TABLE EMPLOYEES
(
empid int NOT NULL CONSTRAINT ix_pkEMPLOYEES PRIMARY KEY
NONCLUSTERED
, name varchar(25) NOT NULL
, age tinyint NOT NULL
)

CREATE CLUSTERED INDEX ixcEMPLOYEES ON EMPLOYEES (name)

Is This Answer Correct ?    57 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we check locks in database? If so, how can we do this lock check?

893


What are the pre-defined functions in the sql server?

1027


Tell me what do you understand by a view? What does the with check option clause for a view do?

956


How to turn on the mssql api module in php?

1015


Which is faster statement or preparedstatement?

890


What is after dml trigger?

954


Where can you add custom error messages to sql server?

1054


What is a primary key?

899


How many types of subqueries are there in sql server?

934


Explain what is meant by replication of database?

956


What are a scheduled jobs or what is a scheduled tasks?

848


how do you test proper tcp/ip configuration windows machine? : Sql server database administration

998


What are the advantages of user defined function?

918


Tell me what are the essential components of sql server service broker?

885


Explain what is analysis service repository?

926