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?

Answers were Sorted based on User's Feedback



Difference between Primary key and unique key?..

Answer / deepali b. baviskar

Unique key can be NULL but Primary key couldn't be NULL.

Is This Answer Correct ?    11 Yes 0 No

Difference between Primary key and unique key?..

Answer / sraboni mondal

primary key is a key which is totally unique key and unique
has null values

Is This Answer Correct ?    0 Yes 1 No

Difference between Primary key and unique key?..

Answer / 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

Difference between Primary key and unique key?..

Answer / keerthi

primary key is a field that can serve as unique identifier in table.ex:customer id.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Core Java Interview Questions

What are the differences between throw and throws?

0 Answers  


what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?

3 Answers   Satyam, STI,


What is static variable and static method?

32 Answers   Accenture, Prolific, Prolifics, TCS, TNH,


Do you know thread pools?

0 Answers   BMC,


What is the primitive type short?

0 Answers  


What is the base class of all exception classes in java?

0 Answers  


How do you declare an infinite loop?

2 Answers  


What is the constructor?

0 Answers  


What are different data types?

0 Answers  


Why is java architectural neutral?

0 Answers  


Can we override the private methods?

0 Answers  


Why do I need to declare the type of a variable in java?

0 Answers  


Categories