Difference between primary key and unique key ?

Answer Posted / sunil upadhyay

the basic difference is that primary key can not have null
value whereas Unique key can have null values.two null
value are not same.One table may have more than one Unique
Key Constraint
columns, but should have only one Primary Key Constraint
column.

Is This Answer Correct ?    88 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of rows option in imp command.

604


What is a snapshot log?

564


Is oracle a programming language?

564


What is the difference between primary key and unique key and foreign key in oracle?

544


What is bulk copy or bcp in oracle?

606






What do you mean by cdb and pdb in oracle 12c?

633


How to define an explicit cursor in oracle?

597


How to see free space of each tablespace?

590


State all possible different index configurations a table can possibly have?

564


What is merge in oracle?

558


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1562


How can windows applications connect to oracle servers?

520


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1462


Explain the difference between replace() and translate() functions in oracle?

578


What is oracle update statement with inner join ?

579