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 |
Name 3 of the features that the sql server built-in function loginproperty performs on standard logins? : sql server security
Distinguish between commit and rollback?
Explain about SQLOS?
Explain about merge replications?
What is a table called, if it does not have neither Cluster nor Non-cluster Index?
What is the difference between OLEDB and ODBC
List out the differences between the clustered index and non-clustered index in sql server?
Can I work with several databases simultaneously? : sql server management studio
what changed between the previous version of sql server and the current version? : Sql server database administration
Explain the types of indexes.
Why do we use sql limitations? Which constraints can we use while making a database in sql?
How do I change my passwords (database, LDAP, and so on) without causing an outage?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)