Define candidate key, alternate key, composite key.

Answer Posted / raghuram

Candidate Key is a Key which identifies each row of a table
uniquely. Generally a Candidate Key becomes a Primary Key
of the table. If table has more than one Candidate Keys
then one is called Primary key and rest are called
Alternative Keys.
A key is formed by two or more columns is called Composite
Keys.

Is This Answer Correct ?    80 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some case manipulation functions in sql?

599


How to handle error or exception in sql?

532


What is partition in sql server?

535


Why use “in” clause in sql server?

558


OPTIMIZATION OF SP,CURSOR,TRIGGERS

2211






What is the difference between primary key and unique constraints?

516


What stored by the master?

547


What is service broker? : sql server database administration

585


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

620


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

534


How to count duplicated values in a column in ms sql server?

521


how you can configure a running aggregate in SSRS?

114


Why is sql server log file full?

540


What are “phantom rows”?

1249


How to modify an existing user defined function?

601