Define candidate key, alternate key, composite key?

Answer Posted / sonal singhal

Candidate keys-> A candidate key is a combination of
attributes that can be uniquely used to identify a database
record without any extraneous data. Each table may have one
or more candidate keys. One of these candidate keys is
selected as the table primary key.

Alternate keys-> Alternate Key or Unique Key is similar to
PK ,except it accepts null Values .So that the records can
still be entered submitting null values to this attribute.

Composite keys-> compound key (also called a composite key
or concatenated key) is a key that consists of 2 or more
attributes.
A composite Key can be either Primay or Unique
Key.More then One Key columns are said to be composite keys

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about relational operator join?

607


What is dbms explain in brief?

557


If a column is an image value type, how you can compare column values? How can you use this column in join clause?

581


Can an extended stored procedure be called from inside a user-defined function?

605


How to generate OIDS

1659






What is an application role and explain a scenario when you would use one?

550


The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?

572


What is a database development?

512


What are the 18 schemas?

602


Does QTP Support the Propjects which are running in Dot Net? As we are starting with new project in Dot net need to use automation tool?Please advice & let me know what would be the best.

1597


What are the key features of dbms?

562


Explain about normal forms?

593


Why does this query return 0?

615


Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in

1578


What is the physical representation for a many-to-many relationship?

571