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 are the prerogatives?
What is the maximum size of varchar data type in db2?
Define db2 and its databases?
List down the data types in the db2 database.
Explain the function of data manager.
How and when does the db2 enforces the unique key?
Are views updateable?
What is coalesce in db2?
What is db2 bind?
How do you pull up a query which was previously saved in qmf?
What is difference between alias and synonym in db2?
What is the advantage in De-normalizing tables in DB2?
What is copy pending status in db2?
How to create backup table in db2?
How to get the ddl of a table in db2?