Difference between primary key and unique key ?

Answer Posted / kundn

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 ?    14 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is truncate autocommit in oracle?

832


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

1848


How to compare dates in oracle sql?

836


What is a initialization parameter file in oracle?

756


How to concatenate two text values in oracle?

812


How do I manually uninstall oracle client?

744


What are a query and state the different types of queries and their uses?

728


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

811


What is a static data dictionary in oracle?

740


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1774


How to get execution statistics reports on query statements?

795


How to update values in a table in oracle?

750


 What are the oracle DML commands possible through an update strategy?

789


what is normalisation?what are its uses?

1936


Please explain drop constraint oracle?

798