What Is The Difference Between Primary Key & Super Key
Answers were Sorted based on User's Feedback
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 |
Answer / tanmay dutta
Primary Key : Unique No. Not null.No duplicate.exam:Student_Id.
Super Key : Like (student_id + Student Name)
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anil kumar dubey
A candidate key that uniquely identifies a row in a table is called primary key.
A superkey (composite key) is a combination of columns that uniquely identifies any row within a relational database management system (RDBMS) table.
Is This Answer Correct ? | 0 Yes | 0 No |
How do I view a stored procedure in sql server?
Does sql server 2000 clustering support load balancing?
What stored by the master?
can you instantiate a com object by using t-sql? : Sql server database administration
What is the security model used in sql server 2005?
where the connection string store in the database
Explain the flow of creating a cube? : sql server analysis services, ssas
What are the types of indexes?
in my server i have 3 instances,one of them got failed, and this cause we r not able to connect to server, how to know which instance was dameged?
What is temporary table in sql server? Why we use temp table?
How can you get @@error and @@rowcount at the same time?
hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail