Difference between primary key and unique key ?
Answer Posted / deen dayal sharma
1. PRIMARY KEY & UNIQUE KEY both uniquely identity of each
row in a table.
2. BOTH keys will not contain repeated value.
3. One table may have more than one Unique Key Constraint But
it should have only one Primary Key Constraint column.
4. BUT UNIQUE KEY will contain NULL value but PRIMAY key will
not contain NULL value.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the difference between functional dependecy and multilevel dependency?
Can we create database in oracle using command line ?
In what script is snap$ created? In what script is the scott/tiger schema created?
Explain integrity constraints?
How to export your connection information to a file?
What are the set operators union, union all, minus & intersect meant to do?
How to drop an index in oracle?
In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?
How to convert a string to a date in oracle database?
What is a read only transaction in oracle?
What is open database communication (odbc) in oracle?
Can we call procedure inside function in oracle?
how may join possible between (requisition with purchase order)
What are the uses of linked server and explain it in detail?
What is a database schema in oracle?