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 data regions are and what are the different data regions?

101


What is Transparent Data Encryption?

585


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

645


Explain difference between control flow and data flow?

528


Do you know concepts and capabilities of sql server?

582






What are drilldown reports?

84


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

547


What is SQL Azure Firewall?

116


What is the tcp/ip port on which sql server runs?

564


What is code near application topology?

197


Is sql server a database?

531


Explain transaction server implicit?

517


Why normalization is used?

548


How connect excel to sql server?

505


Do you know what is user defined datatypes and when you should go for them?

498