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's the difference between a primary key and a unique key?

Answer Posted / amit

-Both are Unique means they do not accept duplicate value.

-Primary key by default Clustered Index where as Unique Key
is a Non-Clustered Index.

-Primary Key does not accept null value where as Unique Key
accept only one Null Value.

-A table can have only one Primary Key where as A table can
have multiple Unique Key.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are filegroups in sql server?

1058


Comment,Datatypes are unlimited

2057


Does sql server use java?

1070


What is openrowset sql server?

1127


What do you understand by SQL*Net?

1031


What is Federation Root Database?

104


Can one drop a column from a table?

1020


Explain what are the basic functions for master, msdb, model, tempdb databases?

978


what is a join and explain different types of joins? : Sql server database administration

957


What is the default value of an integer data type in sql server 2005?

952


Do you know the capabilities of cursors?

1150


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

985


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1135


What is key attribute?

933


What are the steps you should follow to start sql server in single-user mode?

904