Can a primary key have null values? If we try to insert a
null value in a primary key column, will it work or give an
error code?
Answer Posted / sangeetha
There cannot be null values in a Primary Key column.
It will result in error code.
Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
How to take backup of table in db2?
On which levels locks can be applied?
what is a corelated subquerry?
How do I import data from excel to db2?
Is db2 a programming language?
What is dbrm?
Why cursor is used in db2?
What is the maximum size of varchar data type in db2?
What is cobol db2?
How and when does the db2 enforces the unique key?
What is access path in db2?
Explain db2.
Is db2 relational database?
How can the duplicate values be eliminated from db2 select?
How to test SQL -911 error while developing COB-DB2 program