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

How to estimate disk space needed for an export job?

572


Why is oracle so popular?

578


What is the scope of a local variable?

590


What privilege is needed for a user to create tables in oracle?

560


What is connection pooling in oracle?

564






How do I find my oracle client driver version?

538


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2462


Can we use bind variables in oracle stored procedure?

499


How to synchronize 2 schema's objects?

1700


How many types of tables supported by oracle?

592


types of indexes and the rationale behind choosing a particular index for a situation.

1995


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1268


Point out the difference between user tables and data dictionary?

550


What is a tns file?

510


What is a dead lock in oracle?

606