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

How many columns should be in an index?

959


What is rename in sql?

968


What is out parameter used for eventhough return statement can also be used in pl/sql?

1069


What is the difference between local and global temporary table?

1039


what is single byte over head in oracle..?

2397


What is t sql in sql server?

1067


what is a trigger in mysql? Define different types of trigger. : Sql dba

1068


What is the difference between delete and truncate statement in sql?

1065


Explain the difference between drop and truncate commands in sql?

1042


Can delete statement be rollbacked?

984


What problem one might face while writing log information to a data-base table in pl/sql?

1155


How do I run sql profiler?

1059


What is oracle sql called?

922


Is it possible to create startup or shutdown trigger for on-schema?

1021


What is procedure and function in sql?

994