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
What are the benefits and tasks of object explorer? : sql server management studio
What are the different types of replication you can set up in sql server?
What is a cache in ssrs?
How much memory that we are using in Logshipping Concept?
What are the basic functions for master, msdb, model, tempdb databases?
How to create a new schema in a database?
Give me any three differences between Truncate and Delete.
List the different index configurations possible for a table?
Tell me what is the difference between locking and multi-versioning?
What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?
Can you explain what is indexed view? How to create it?
How to insert data into an existing table?
What is the difference between a function and a stored procedure?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
What is sql stored procedure?