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 / priya
Can you please clarify what kind of error code/sqlcode will
be returned if we try to insert a null value in a primary
key using a DB2 insert query?
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Why cursor is used in db2?
Explain the function done by data manager?
Is db2 a programming language?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
How to create db2 table in mainframe?
What is cloudant database?
What is sqlca’s maximum length?
How do I create a view in db2?
How to compare data between two tables in db2?
What is cursor stability in db2?
How and when does the db2 enforces the unique key?
What do you mean by between and in? Is between inclusive of specified range values?
What is dpf in db2?
What is the advantage in De-normalizing tables in DB2?
What is a collection in db2?