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
Is it possible using max on a char column?
What does sqlcabc has?
Where can you declare a cursor in a cobol-db2 program?
What is a db2 schema?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is the maximum size of a char data type in db2?
What is the latest version of ibm db2?
How does a cursor work?
What is cloudant database?
What is innodb buffer pool?
What is dclgen (declaration generator)?
What does db2 stand for?
What do you mean by rollback?
What is the max length of sqlca?
How do I import a csv file into db2?