How to create Clustered Primary Key to table?
Answers were Sorted based on User's Feedback
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 |
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 |
Which data type can be used only on OUTPUT parameters of the stored proceduer?
How do you delete duplicate records in sql server?
How many types of cursors are there in SQL Server?
5 Answers 247Customer, CarrizalSoft Technologies,
Define magic tables in sql server?
What is the Control Flow in SSIS
What is the latest version of microsoft sql server?
How do I find information about the install locations for the various instances running on a computer?
hi i gone though satyam interview. what is Acid Properties?
What is cdc in sql server?
Does sql server 2000 full-text search support clustering?
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
How to get last system shutdown time in Sql server when restarted system?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)