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 difference between primary key and Unique

Answer Posted / suresh kaudi

Primary Key: Not allow null values,when we make primary key
automatically create cluster index,primary key we make
other foreign key.

Unique key: allow one null value,we can't make it foreign
key to other table.here we cane make only non-cluster index

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 the authentication modes in sql server? How can it be changed?

1054


What do you mean by subquery?

1021


What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.

2713


Why use “pivot” in sql server?

1041


What are null values in ms sql server?

1021


What are indexes in sql?

1171


How can we check the sql server version?

981


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

1058


How to send a ssrs report from ssis?

166


What is attribute hierarchy? : sql server analysis services, ssas

960


Explain what are commit and rollback in sql?

864


as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

857


Explain about Normalization?

1012


How is foreign key related to primary key?

913


what is the difference between a primary key and a unique key? : Sql server database administration

945