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...

Difference between Primary key and unique key?

Answer Posted / sohini ghosh

In RDBMS, a unique key can uniquely identify each row in a
table, and is closely related to the Super key concept. A
unique key comprises a single column or a set of columns.it
can be null.


A primary key is a special case of unique key. Primary keys
may consist of a single attribute or multiple attributes in
combination.It can't be null..

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tostring () method?

1000


Can we assign the reference to this variable?

955


Which list is sorted in java?

1017


What are nested classes in java?

1097


What is the difference between serial and throughput garbage collector?

1085


Are static members inherited to sub classes?

1123


What will be the default values of all the elements of an array defined as an instance variable?

1016


Can a class be private?

948


What is an interface in java?

1040


What does int [] mean in java?

1022


How thread scheduler schedule the task?

1040


What is private protected in java?

1023


When does an object becomes eligible for garbage collection in java?

1046


What is the difference between a vector & an array list?

1151


What is data type in computer?

944