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 a primary key, and how is it different from a unique key?

Answer Posted / hr@tgksolutions.com

• Primary Key:
o Ensures each row in a table is unique.
o Cannot contain NULL values.
o A table can have only one primary key.
• Unique Key:
o Ensures all values in a column are unique.
o Can contain a single NULL value.
o A table can have multiple unique keys.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of keys?

1084


What is delete command in sql?

1089


What is a dirty read sql?

1109


How to install oracle sql developer?

1021


what is a stored procedure? : Sql dba

1108


How do you know if a relationship is 2nf?

926


What is multiple partition?

952


What is union?

1137


What is pl sql variable?

962


What is a stored procedure in sql with example?

1105


is mysql query is case sensitive? : Sql dba

1075


what are the limitations of identity column? : Transact sql

1087


Why do we use view in sql?

934


How many columns should be in an index?

951


How many clustered indexes can be created on a table?

1067