Define candidate key, alternate key, composite key.

Answer Posted / swapna

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 ?    348 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change the data type of an existing column with "alter table" statements in ms sql server?

729


List some of the rules that apply to creating and using a ‘view’

673


Mention the different types of triggers?

722


Explain filtered indexes?

747


Do you know what is a with(nolock)?

792






What is the default Port No on which SQL Server listens?

823


Can we use trigger new in before insert?

684


What is the difference between locking and multi-versioning?

720


What is subreport?

112


Why SQL Agent is used?

799


How to insert new line characters into strings?

726


What is database replication? What are the different types of replication you can set up in sql server?

667


what is the system function to get current user's user id? : Sql server database administration

740


What specific conditions database should meet, before you can bulk copy data into it using bcp?

736


What are the features of Embedded SQL

857