adspace


What is difference between index and primary key?

Answer Posted / Ambesh Kumar Bhatt

A Primary Key is a special type of constraint that uniquely identifies each record in a table. An Index is a database object that improves the performance of queries by allowing SQL Server to find and retrieve rows more quickly.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1022


What is the primary use of the model database?

1149


How raid can influence database performance?

1117


What is sql or structured query language?

1227


What is clustered index

1086


What are the different SQL Server Versions you have worked on?

1079


what is the Ticketing tool used in Wipro technologies at Bangalore...???

8230


Equi join and non equi join is possible with sql server?

1134


How do I create a trace in sql server?

1120


Can we do dml on views?

1038


What kind of problems occurs if we do not implement proper locking strategy?

1499


Explain “row_number()” in sql server with an example?

1079


List out the different types of locks available in sql server?

1050


How to remove duplicate rows from table except one?

1088


What are the different types of subquery?

1235