Difference between primary key and unique key ?

Answer Posted / jeyasree

* Only one primary key is allowed per table (any number of
unique keys are allowed).
* Primary key columns automatically become NOT NULL (unique
keys can contain nulls).
* UNIQUE and DISTINCT are synonymous in a SELECT list.

Is This Answer Correct ?    82 Yes 45 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a table index?

559


How to create a server parameter file?

571


How can we find out the duplicate values in an oracle table?

602


What is columnar storage what is the advantage?

542


What is the difference between alert log file and tarce file ?

1628






WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

1800


How to use fetch statement in a loop?

549


How to assign query results to variables?

588


How to check the oracle tns settings?

571


ABOUT IDENTITY?

1553


How to view all columns in an existing table?

547


What is a tns service name?

530


What is rich query?

540


Can you tell me how to add new column in existing views?how?How is possible?

929


How to compare dates in oracle sql?

649