Difference between primary key and unique key ?

Answer Posted / vitthal parkar

Unique key Primary key
1. Can have null value 1. Can not have null value
2.Table can have multiple 2. Table Can have multiple unique
Unique keys keys
3Single column at a time 3. May be combination of one or
or more columns

Is This Answer Correct ?    35 Yes 58 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

1735


Difference between hot backup vs. Cold backup?

759


Explain oracle 12c new features for developers?

746


How to delete an existing row from a table in oracle?

826


How to view the tablespaces in the current database?

737


How to create an oracle testing table?

784


What is the relationship among database, tablespace and data file?

730


What is the usage of control file in oracle?

808


Explain the use of grant option in imp command.

730


What do you understand by a database object?

780


What are the different editions of oracle?

793


What is max rowid in oracle?

751


i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?

1692


What is the difference between a hot backup and a cold backup in oracle?

754


Query to retrieve record for a many to many relationship ?

2268