DBA > Job Interview Questions > DB2 ( IBM Database 2 ) Interview Questions

What do you mean by NOT NULL WITH DEFUALT? When

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What do you mean by NOT NULL WITH DEFUALT? When will you use it ?

This column cannot have nulls and while insertion, if no value is supplied then it will have zeroes, spaces or date/time depending on whether it is numericm, character or date/time. Use it when you do not want to have nulls but at the same time cannot give values all the time you insert this row.

(Continued on next question...)

Other Job Interview Questions