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 |
What is the difference between ddl,dml and dcl commands?
0 Answers BirlaSoft, Verifone,
How do I save a stored procedure in sql server?
what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration
Define union, union all, minus, intersect?
Does index slows down insert statements?
Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?
What are subqueries in sql server?
Explain some stored procedure creating best practices or guidelines?
in the physical file layout, where should the transaction log be stored in relation to the data file?
What are a scheduled jobs or what is a scheduled tasks?
What is BCP? When do we use it?
Normalization and denormalization
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)