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 do you increase the OS limitation for open files (LINUX and/or Solaris)?
how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?
What is the relation of a user account and a schema in oracle?
What is oracle rowcount?
Which is better Oracle or MS SQL? Why?
Explain rename?
How to create additional tablespaces for an new database?
How to define an oracle cursor variable?
How many types of segments in Oracle?
How to find the duplicate rows count from employees table in oracle?
Can we use bind variables in oracle stored procedure?
How do we get field details of a table?
How to rename an existing table?
Explain oracle left join with an example?
How to convert times to characters in oracle?