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 / guest
A primary key can have a NULL value. The error will be
shown only when NOT NULL is defined in the table creation.
Is This Answer Correct ? | 10 Yes | 10 No |
Post New Answer View All Answers
How can deadlocks be resolved?
What is the default page size of buffer pools?
What is runstats db2?
What is db2 purescale?
What are db2 tables?
How to fetch the last row from the table in SQL (db2)?
Define sqlca.
Give a brief description of db2 isolation levels?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What happens in bind step in a db2 program?
What is db2 bind process?
Differentiate between cs and rr isolation levels? Where do you specify them?
What type of database is db2?
Name the various locking levels available?
What is db2 connect?