Define candidate key, alternate key, composite key.

Answer Posted / kishore

A candidate key is one that can identify each row of a
table uniquely. Generally a candidate key becomes the
primary key of the table. If the table has more than one
candidate key, one of them will become the primary key, and
the rest are called alternate keys.

A key formed by combining at least two or more columns is
called composite key.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is NOT NULL Constraint in sql server 2012?

742


How to defragment indexes with alter index ... Reorganize?

765


what are defaults? : Sql server database administration

693


Explain different types of locks in sql server.

769


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

783






What is autocommit mode in sql server?

707


What is the difference between count and distinct count?

621


Can I use sql azure as a backup with log shipping or database mirroring?

148


Does a full backup include transaction log?

673


How do triggers work?

692


What is the difference between dropping a database and taking a database offline?

902


what are triggers? : Sql server database administration

655


What is the difference between createstatement and preparedstatement?

686


How to create an index on an existing table in ms sql server?

673


What is the difference between a check constraint and a rule?

791