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 / guest
A primary key can have a NULL value. The error will be
shown only when NOT NULL is defined in the table creation.
| Is This Answer Correct ? | 10 Yes | 10 No |
Post New Answer View All Answers
What is the physical storage length of timestamp data type?
What is db2 bind process?
How will you return the number of records in table?
What is the cobol picture clause of the db2 data types date, time, timestamp?
What is a bind in db2?
What is the information associated with sysibm.syslinks table?
What's The Error Code For Unique Index Voilation?
How do you find the maximum value in a column in db2?
How to restart a DB2 program?
What language is db2 written in?
What is a page in db2?
What is runstats db2?
How to take backup of table in db2?
What are the two types of logging in the db2 database? Explain them.
What is nvl in db2?