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 |
how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there?
What is the use of static keyword in "public static void main()"
10 Answers College School Exams Tests, Infosys, Six Dee Telecom,
What is jee6?
What is the difference between throw and throws keywords?
What are keywords and reserved words in java?
What is the difference between Static and final?
How is a variable stored in memory?
What is JVM ? use of JVM?
What is a boolean expression in java?
Can memory leak in java?
What are the different types of java?
wht is customised exception?
1 Answers Logica CMG, Novell, Prudential,