Diff between Composite key, Alternate Key, Candidate Key,
Primary Key, Unique Key, Super Key, Foreign Key
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 |
What is INTVAL( )and where we use Plz any body help me
How to check what was the last restore transaction LSN on Log-Shipping and Mirroring when we doesn't have a Monitor server and Witness server?
How to work on DTS?what is the main requirement?
Why are views required in the sql server or in any other database?
What is the user of Primary key?
What are the system database in sql server 2008?
What are the essential components of sql server service broker?
what is blocking? : Sql server database administration
what is dbcc? : Sql server database administration
What are views in ms sql server?
How to find the source of a table in sql server?
Explain the cursor lock types?