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?

Answers were Sorted based on User's Feedback



How to create Clustered Primary Key to table?..

Answer / 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

How to create Clustered Primary Key to table?..

Answer / saravakumar

USE [AdventureWorks]
GO
ALTER TABLE [Sales].[Individual]
ADD CONSTRAINT [PK_Individual_CustomerID]
PRIMARY KEY CLUSTERED
(
[CustomerID] ASC
)

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SQL Server Interview Questions

what are the different types of replication you can set up in sql server? : Sql server database administration

0 Answers  


How do I setup a sql server database?

0 Answers  


Mention the 3 ways to get a count of the number of records in a table.

0 Answers  


What do you understand by check constraint in sql server?

0 Answers  


What is etl - extraction, transformation, and loading?

0 Answers  


is it important for a database administrator to understand the operating system and file access? : Sql server administration

0 Answers  


How can we Use Linked Server? Uses of Linked server

1 Answers   IBM,


Can we call SP inside a query?

5 Answers   CA, CarrizalSoft Technologies, Wipro,


How to disable stored procedure sql server?

0 Answers  


Explain what is analysis service repository?

0 Answers  


Which table keeps the locking information?

0 Answers  


What is partition, how will you implement it? : sql server analysis services, ssas

0 Answers  


Categories