Difference between Primary key and unique key?
Answers were Sorted based on User's Feedback
Answer / deepali b. baviskar
Unique key can be NULL but Primary key couldn't be NULL.
| Is This Answer Correct ? | 11 Yes | 0 No |
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 |
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 |
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 |
What are the three parts of a lambda expression? What is the type of lambda expression?
What are the advantages of inner classes?
Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages
What is the use of static class?
How to override a equals() method and what is the use?
What is the range of the short type?
Differentiate between stringbuffer and string?
When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify
What are the restrictions imposed by a Security Manager on Applets?.
How do you bind variables?
What is the difference between serialization and deserialization?
Give the hierarchy of inputstream and outputstream classes.