Diff between Composite key, Alternate Key, Candidate Key,
Primary Key, Unique Key, Super Key, Foreign Key



Diff between Composite key, Alternate Key, Candidate Key, Primary Key, Unique Key, Super Key, Forei..

Answer / sapan saxena

Super Key: All possible keys which can identify entities in
the table uniquely.
Primary Key: uniquely identify each entity in the table and
does not contain null and duplicate vales.
Composite key: The combination of two or more than two keys
which identifies entities uniquely.
Candidate Key: Nominee for the primary key.
Alternate Key: Rest of the candidate keys which is not the
primary key.
Unique Key: Same as primary key but can accept one null key
only.
Foreign Key: A foreign key is one or more columns whose
value must exist in the primary key of another table.

Is This Answer Correct ?    41 Yes 2 No

Post New Answer

More SQL Server Interview Questions

How do I find the sql server instance name?

0 Answers  


explain different types of jions with examples briefly?

1 Answers   Zensar,


What is bcnf normalization form?

0 Answers  


What is the difference between varchar and varchar types?

0 Answers  


What stored by the tempdb ? : sql server database administration

0 Answers  






What is create command?

0 Answers  


How to enter unicode character string literals in ms sql server?

0 Answers  


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

0 Answers  


What do you understand by intent locks?

0 Answers  


Which tcp/ip port does sql server run on? How can it be changed?

0 Answers  


Difference between Function and Procedure-in general?

6 Answers  


How to run sql server 2005 books online on your local system?

0 Answers  


Categories