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 duration in sql profiler trace?

1063


Can a foreign key be null?

1068


How do you create an update query?

947


How can one get sql*loader to commit only at the end of the load file? : aql loader

1041


how can we optimize or increase the speed of a mysql select query? : Sql dba

924


can a stored procedure call itself or recursive stored procedure? : Sql dba

1008


What is a table partition?

1106


What is a string data type in sql?

1023


What are sql triggers used for?

980


How does left join work in sql?

985


what is the difference between blob and text? : Sql dba

1002


How do I start sql from command line?

1001


What is using in sql?

1062


How to convert comma separated string to array in pl/sql?

1165


what is column? : Sql dba

989