what are the advantages of primary key over unique+notnull

Answer Posted / tulsi

Primary key will avoid duplicate and null values in a table
which the combination of unique+not null will do.But the
advantage is,if a table has primary key we can create
relation to child tables.

Is This Answer Correct ?    28 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a join?

621


How many types of triggers are there in pl sql?

572


what is a composite key ? : Sql dba

597


What is the difference between pl and sql?

541


Define tables and fields in a database

644






What are the differences between implicit and explicit cursors?

517


Can we use pl sql in mysql?

517


What is cartesian join in sql?

557


What is auto increment in sql?

583


What is sql procedures and functions?

531


Could you please provide oca (oracle 10g) dumps for my certification ?

4508


What is the difference between truncate and drop statements?

573


Why is pl sql used?

525


What are the different type of joins in sql?

542


What is trigger in pl sql?

556