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


Please Help Members By Posting Answers For Below Questions

What is translate in oracle?

629


What is a dead lock in oracle?

606


What is oracle analytical function?

539


What happens to the data files if a tablespace is dropped?

588


how to join query for one source type is oracle another source type is sql server ?

2001






Please explain oracle left join with an example?

591


How to get execution path reports on query statements?

574


What are privileges and grants?

576


How can we delete duplicate rows in a table?

570


Why do we need oracle client?

524


How to create a table index in oracle?

667


What are the restrictions on external table columns?

555


what is a Nested Loop join?

1573


Explain what are the different type of segments?

587


Explain the use of compress option in exp command.

556