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

What are the parts of a basic sql query?

955


How do I enable sql encryption?

1006


What is the use of sql trace?

936


how can we destroy the session, how can we unset the variable of a session? : Sql dba

980


Explain what is a column in a table?

1084


What is difference between hql and native sql?

1141


Is primary key clustered index?

938


How to use transactions efficiently : transact sql

1031


what is the stuff function and how does it differ from the replace function? : Sql dba

1030


Is the primary key an index?

1015


Can a foreign key be a duplicate?

895


can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba

973


How many types of cursors are available in pl/sql?

1081


What are the methods of filing?

918


What are the advantages of pl sql?

1106