what is candidate key & primary key,different b/t the two?

Answer Posted / uday shankar dokku

candidate key: when we reduce unnecessary columns from a
super key it is called as candidate key
primary key: primary key is a constraint, in a table
there is only one primary key,a primary key is simple or
composite, a simple primary key is based on one column which
can be specified either inline outline of the constraint,a
composite primary key is based on (2-32)columns which can
be specified only out line of the constraint,a primary dose
not allows duplicates.

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 1nf in the dbms?

604


Is there a way to detect whether fbclient.dll or fbembed.dll is loaded?

569


What are the disadvantages of a database?

567


What is the relationship?

611


What are stand-alone procedures?

622






How many rows can a database hold?

575


What are database modules?

578


What are the 5 databases?

535


How do you exit a database?

571


Is there a database program for mac?

536


What is the best database management system?

579


what are parameter, we can check after creating a database in terms of QC and for each tables what should be the parameters for QC and QA?

2264


Is file system a database?

561


Explain atomicity and aggregation?

647


What are the advantages of database management system?

534