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 |
What is difference between stored procedure & function?
3 Answers CarrizalSoft Technologies, Concept Infoway, TATA,
Explian different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
Explain what are partitioned views and distributed partitioned views?
What are the steps to follow to configure SQL*Net?
List out some of the requirements to set up a sql server failover cluster?
In which format does an image save in SQL Server database ?
How cand Optimize SQL Server Stored Procedures
What are the types of indexes available with SQL Server?
When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?
what is an sql server?
What does the update command do?
What is a covered index?
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)