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 keywords in programming?
What are the benefits of operations in java?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?
What is java util function?
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
can we write a program with out a class in core java?
What error occurs if a try-catch-finally statement sequence does not have a catch clause?
What is string pool in java?
What are static initalizers in java ?
Explain garbage collection in java?
What is thread count in java?