Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between primary key and unique key ?

Answer Posted / tom

There is two difference between them.

1. The not null constraint is by default added to primary
key, it means, primary key attribute cannot accept null
values, whereas, the attribute declared as unique can accept
null values. It is the major difference between the two.

2. Secondly, we can have only one primary key in a relation,
whereas, multiple attributes can be declared unique at the
same time.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to login to the server without an instance?

1116


What are advantages of dateset in datastage?

2210


What are the arithmetic operations?

1030


What are group functions in oracle?

987


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

5351


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

1963


How to return top 5 rows in oracle?

1005


How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?

1858


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1963


Explain the use of online redo log files in oracle.

1001


How to write numeric literals in oracle?

1135


What is analyze command used for?

1019


Is postgres faster than oracle?

980


How to assign values to variables?

1058


What is using clause and give example?

1002