Difference between primary key and unique key ?

Answer Posted / hemendra singh chaudhary

In the Table a primary key constraint column cannot holding
the null values.whereas unique constraint colum can holding
the null values.
Ex.|--------------------|
| ID(P) | Name(U) | #ID(P) ->It's a Primary Key
|--------------------| * Its a Not Null
| 1 | Hemendra | * A table Contain 1 Primary
| 2 | Neeraj | Key.
| 3 | PremJe | #Name(U)->It's a Unique Key
|NotNull |canbe Null| * Its can contain Null Value
|--------------------| * A table Contain more
than 1 unique Key.

Please Check the Radio Button..........
******************Gud Luck********************

Is This Answer Correct ?    45 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain oracle’s system global area (sga).

621


What is a relational database management system?

674


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2452


What are the oracle differences between nvl and coalesce

514


What is the scope of a local variable?

585






What is the string concatenation operator in oracle?

568


What is oracle datasource?

548


What is data block in Oracle?

616


What is the difference between substr & instr functions?

597


What is ordinary table in oracle?

650


Can we store images in oracle database?

545


Explain the difference between sap and oracle?

575


What happens if recursive calls get out of control?

546


How to delete multiple rows from a table in oracle?

563


What are the limitations of check constraint?

569