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


Please Help Members By Posting Answers For Below Questions

How can we read records for specific member in CL? AND rpg?

482


What is alias in db2?

820


List out the buffer pools in db2

844


What is query_cache_limit?

781


What is clone table?

815


What are the contents of a dclmgen?

866


What is reorg and runstats in db2?

979


What is ibm db2 used for?

844


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?

8401


What is scrollable cursor in db2?

830


What is a db2 cursor?

826


Explain how can you do the explain of a dynamic sql statement?

881


What is dbrm in db2 database?

814


How to view db2 table structure?

818


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2008