What do you mean by NOT NULL? When will you use it?
Answer Posted / s
CREATE UNIQUE WHERE NOT NULL INDEX index1
ON table(column);
WHERE NOT NULL ensures that non-null values are unique.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain packages.
What is a db2 collection?
Is the primary key a clustered index?
How do I add a column to an existing table in db2?
What is the difference between cursor stability and repeatable read isolation levels?
What is phantom read in db2?
What is plan in cobol db2?
What are the prerogatives?
What is a bind in db2?
Mention the different locking levels that are available in db2.
What is a system catalog table in db2?
What parameters are used to control the free space in DB2?
What is db2 look?
How to compare data between two tables in db2?
What is cursor stability in db2?