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...

What is differance unique key and primary key.

Answer Posted / madhu

unique key:
1.unique key will accept more than one null value.
2.whenever u created a unique key, then internally one non-clustered index will be created(one table can have more than one Non-clustered index).
3.one table can have more than one unique key.
Primary key:
1.One table should have one primary key only.
2.primary key will not accept null values.
3.whenever u created a primary key then internally one clustered index will be created(one table can have only one clustered index).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the primary key an index?

1026


What is nosql db?

970


Is sql easier than java?

1016


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

1067


Why is theta join required?

1145


How to run sql statements with oracle sql developer?

1068


what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba

1004


Is sql low level language?

1019


what is a field in a database ? : Sql dba

1056


What is the difference between instead of trigger and after trigger?

1010


Can we commit inside a trigger?

988


How do I audit the sql sent to the server?

1010


How many parts of a pl sql block are optional?

1134


How can we find duplicate records in a table?

946


Are stored procedures faster than dynamic sql?

1040