Is primary key = unique key,not null?
If yes,please explain
IF No,please explain
Answer Posted / anamika niit
Primary key and unique are Entity integrity constraints
Primary key allows each row in a table to be uniquely
identified and ensures that no duplicate rows exist and no
null values are entered.
Unique key constraint is used to prevent the duplication of
key values within the rows of a table and allow null
values. (In oracle, one null is not equal to another null).
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
How to unlock the sample user account in oracle?
What is coalesce function?
What is the best way to do multi-row insert in oracle?
What are the various oracle database objects?
types of indexes and the rationale behind choosing a particular index for a situation.
What is materialized view in Oracle?
Can we call procedure inside function in oracle?
How to use subqueries with the exists operator in oracle?
what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?
How to list all user accounts in oracle?
How to create a stored procedure in oracle?
How to start an oracle instance?
What is concurrency in oracle?
How to use null as conditions in oracle?
How to work with data objects interactively?