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

• 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

State some properties of relational databases?

1056


What are conditional predicates?

1057


Are sql connections encrypted?

1020


How much does sql cost?

995


What is memory optimized?

1079


What are the different operators available in sql?

1000


What is scalar data type in pl sql?

1066


What has stored procedures in sql?

1064


Differentiate between syntax and runtime errors.

1181


What is on delete set null?

1085


Is subquery faster than join?

1010


what is single byte over head in oracle..?

2398


What are the uses of sysdate and user keywords?

1100


Is oracle and sql same?

1007


How to fetch values from testtable1 that are not in testtable2 without using not keyword?

1217