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 / rinu

1)unique key can be null but primariy key cant be null.
2)primariy key can be refrenced to other table as FK.
3)we can have multiple unique key in a table but PK is one
and only one.
4)PK in itself is unique key.
5)a table can have more then one unique key column but a
table can have only one primary key column.
6)primary key creates clustered index but unique key
creates non clustered index.

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is different types of joins?

1018


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4519


What is not equal to in oracle?

996


How to build data dictionary view an new database?

1006


How many types of table in Oracle?

1119


What is a select query statement in oracle?

961


What is a proxy object?

1061


What is control file used for?

1200


What is oracle sid?

947


What is define in oracle?

1058


What is a cognitive schema?

959


Explain the use of file option in exp command.

1127


What happens to indexes if you drop a table?

1169


What is the difference between sharding and partitioning?

984


How to call a stored function with parameters?

1035