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
Define buffer pool.
Is db2 a mainframe?
What is the maximum number of columns in a db2 table?
What do you mean by commit and rollback?
What is the role of the data page in the db2 database?
How do you find the maximum value in a column in db2?
What are the rules for db2 programming?
Which command is used to connect to a database in DB2 ? Give the Syntax.
How many databases are there?
What is the maximum length of sqlca?
What are the contents of dclgen?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
How do I create a view in db2?
What is the function of logging in the db2 database?
What is netezza database?