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
Mention some fields that are a part of sqlca.
What is universal database?
What is the result of open cursor statement?
What is isolation level in db2?
What is a system catalog table in db2?
What is the difference between plan and package in db2?
List some fields from sqlca?
What is the syntax for seeing the columns and data types of a table in the db2 database?
How do you pull up a query which was previously saved in qmf?
What is phantom read in db2?
How do I optimize a query in db2?
Define db2 and its databases?
Which is faster delete or truncate?
What is multi row fetch in db2?
How connect db2 database to datastage?