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 / satya prasad n
The PRIMARY KEY cannot be null. you can insert ZERO into
that but should not be null. It will throw an error if you
try to inserts a NULL.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Describe major components of db2?
What is iseries database?
Mention the definition of cobol in varchar field.
What types of tables are there in the db2 database?
Mention the downsides of page level lock.
How do I delete a column in db2?
What are types of indexes?
How do you stop a db2 database in linux?
How can we read records for specific member in CL? AND rpg?
Is db2 free?
What do you mean by rollback?
How will you return the number of records in table?
What is the difference between oracle and db2?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is a db2 schema?