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 are the different types of replication you can set up in sql server? : Sql server database administration
How do I setup a sql server database?
Mention the 3 ways to get a count of the number of records in a table.
What do you understand by check constraint in sql server?
What is etl - extraction, transformation, and loading?
is it important for a database administrator to understand the operating system and file access? : Sql server administration
How can we Use Linked Server? Uses of Linked server
Can we call SP inside a query?
5 Answers CA, CarrizalSoft Technologies, Wipro,
How to disable stored procedure sql server?
Explain what is analysis service repository?
Which table keeps the locking information?
What is partition, how will you implement it? : sql server analysis services, ssas
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)