What Is The Difference Between Primary Key & Super Key

Answer Posted / manoj

Primary Key is a column which uniquely identifies all records in a table. For example EmployeeID column in an Employee table.

If you add another column to a PK, like (EmployeeID+FirstName) it still identifies identifies all rows uniquely, is known as Super Key.

For more interview Questions on SQL Server: http://sqlwithmanoj.wordpress.com/interview-questions/

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the security model used in sql server 2005?

694


What is optimistic concurrency?

747


Which tools are available to manage SQL Azure databases and servers?

107


what is difference between NULL and ISNULL in SQL Server 2008?

759


what is the different types of backups available in sql server? : Sql server database administration

645






How to remove duplicate rows from table except one?

742


What is tablix?

136


How to list all user defined functions in the current database?

694


What are “lock” hints?

761


Explain how to integrate the ssrs reports in application?

689


What is 1nf normalization form?

741


How to execute stored procedure and set temp table in sql server?

740


What are the difference between clustered and a non-clustered index?

757


Can group functions be mixed with non-group selection fields in ms sql server?

700


What is open database communication (odbc)?

751