Difference between primary key and unique key ?

Answer Posted / rubiya george

Primary Key Vs Unique key
1.Each table having 1. contain many UNIQUE KEYS.
only one PRIMARY KEY.
2.Primary key not accepts 2.Unique Key accepts null
null values values

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the set operators union, union all, minus & intersect meant to do?

570


What are the built-in functions used for sending Parameters to forms ?

2850


What are transaction isolation levels supported by oracle?

582


How to get execution path reports on query statements?

568


What are the system predefined user roles?

593






Explain joins in oracle?

569


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

1464


Explain overloading. Can functions be overloaded?

577


How to work with data objects interactively?

563


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1678


How to use attributes of the implicit cursor in oracle?

567


What happens if the imported table already exists?

553


How to use an explicit cursor without open statements?

618


how do we code triggers , store procedure , Performance tuning and indexing in a Java Project? Pls kindly get me the perfect answer with the code for each....thank you in advance............pls any body kindly help me soon as possible....

1596


How to insert a new row into a table in oracle?

597