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
Define predicate?
How to test SQL -911 error while developing COB-DB2 program
What are bind parameters in db2?
What does db2 stand for?
What db2 400?
What is copy pending and check pending in db2?
What does reorg do in db2?
What is null value in db2?
How can record locking be achieved in those DB2 versions which do not support it?
What is buffer pool and list some of them?
How to find the maximum value in a column in the db2 database?
Which component is used to execute the sql statements?
What is the role of union all and union
Why select is not preferred in embedded sql programs?
What is check constraint. Explain with example.