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 |
Does a server store data?
What is the maximun sixes of .mdf in sql server 2005
Tell me in brief how sql server enhances scalability of the database system?
How to view existing indexes on an given table using sys.indexes?
What are the dmvs? : sql server database administration
can you any body tell me why are go for the rebuild the master database.what is the reason?
What are the different types of sql server replication? : sql server replication
What is bcp? When does it used?
How to view the error log for any specific instance? : sql server database administration
How do I change my passwords (database, LDAP, and so on) without causing an outage?
Which TCP/IP port does SQL Server run on?
i need some interview questions on sql server developer plz any onee send some links.
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)