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 difference between "Primary key" and "Unique key"?

Answer Posted / nitin gupta

Uniques: Enforce unique data in the database
it allows row containing null value but only once
It implements non clustered index.

primary key: Enforce unique data in the database
it don't allow any record containing null value
it implements clustered index (data physically
sorted)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get list of all tables from a database?

1139


What is query syntax?

954


What is join view in sql?

932


how many ways we can we find the current date using mysql? : Sql dba

1079


What is dialect in sql?

925


Does truncate free space?

990


What is varchar sql?

1118


What is difference between sql and excel?

1070


what are the advantages of mysql in comparison to oracle? : Sql dba

987


What is a ddl command?

1069


Why do we use procedures?

941


what are string data types? : Sql dba

1025


Can cursors be part of a trigger body?

1629


What is sql clause?

1035


What is an index? What are the types of indexes? How many clustered indexes can be created on a table?

1053