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

• 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 is a memo field?

1015


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1064


what is the difference between cluster and non cluster index? : Sql dba

1077


What are the basic sql commands?

1139


What is a pdo connection?

1114


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

998


What is coalesce sql?

1052


What are the types of keys?

1063


What are the parts of a basic sql query?

1013


what is the command line end user interface - mysql? : Sql dba

1028


How do I find duplicates in a single column in sql?

1068


What is the most restrictive isolation level? : Transact sql

1124


What is sql profiler in oracle?

1160


How do I clear the screen in sql plus?

1086


What are the different types of joins in sql?

1908