Database Management Question:

Download Job Interview Questions and Answers PDF

What is candidate key and primary key, explain different between these two?

Database Management Interview Question
Database Management Interview Question

Answer:

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.

Download Database Management Interview Questions And Answers PDF

Previous QuestionNext Question
Which acid property will effect when we use commit in trigger?Can we update table which is created from view?