Is primary key = unique key,not null?
If yes,please explain
IF No,please explain

Answer Posted / edara satish

More or less both the keys sounds same, but the major
diffrence is where unique will allow null values, because
each null treated as a diffrent value internally. Incase of
primary key it will not allow any repeated data and null
data.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a data dictionary and how can it be created?

613


What happens to the current transaction if the session is ended?

525


How to rename a column in an existing table?

615


What privilege is needed for a user to query tables in another schema?

502


How to fetch the row which has the max value for a column?

538






What is an index associated with a constraint?

550


Calculate difference between 2 date / times in oracle sql?

566


How to turn on or off recycle bin for the session?

608


How to view the data files in the current database?

592


How do we display rows from the table without duplicates?

545


Explain what are the advantages of views?

605


Explain a data segment?

646


How do I use os authentication with weblogic jdriver for oracle and connection pools?

571


What are the logical operations?

673


How to create lov dynamically at runtime & attach to text field?

657