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
What is the use of with ur in db2?
How do I add a column to a table in db2?
What is buffer pool and list some of them?
Define check constraint.
What is nvl in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
How to create db2 table in mainframe?
What is the advantage in De-normalizing tables in DB2?
Which is faster delete or truncate?
What is bufferpool in db2?
What is coalesce in db2?
Differentiate between cs and rr isolation levels? Where do you specify them?
How do I start db2 in windows?
Which are the db2 tools to protect integrity of the database?
What is runstats utility in db2?