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...

How to create Clustered Primary Key to table?

Answer Posted / sarika jayadave

USE <DATABASE NAME>
GO
ALTER TABLE [SERVER NAME].[TABLE NAME]
ADD CONSTRAINT [PRIMARY KEY NAME]
PRIMARY KEY CLUSTERED
(
[ORDER BY FILED NAME] ASC
)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are views used for?

1008


Tell me about pre-defined functions of sql?

1105


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

1036


What is serializable?

1034


Define tempdb database?

984


What are the system database in sql server 2005?

1035


Explain user defined views?

949


What are system databases into sql server (2005/2008) : sql server database administration

999


What are the 2 types of classifications of constraints in the sql server?

1112


How do I get to sql server configuration manager?

1001


Is t sql the same as sql server?

955


What are translations and its use? : sql server analysis services, ssas

1034


What are rest-style architecture's?

170


How can I add Reporting Services reports to my application?

129


What is the difference between TRUNCATE and DROP?

1126