Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
mistryvipulh
Starting Member
4 Posts |
Posted - 2010-08-01 : 08:38:15
|
| Hello frndsCan anybody explain me the following topic in simple english language1. Primary Key2. Unique key3. Super Key4. Candidate Key5. Composite Key and a difference between Unique key, super key, candidate key and composite keyThanks in advanceRegardsVipul |
|
|
harrisunderwork
Starting Member
4 Posts |
Posted - 2010-08-02 : 01:01:15
|
| SK - Any combination of keys that make it unique.Ck - Minimum SK is called candidate key.PK - Any CK which does not take null value.FK - Reference to PK of another table with no nullsUK - Same feature is PK but can take null values. Also, in a table there can be many UK.I hope this helps. |
 |
|
|
|
|
|