Interview Questions

Is DECLARE TABLE in DCLGEN necessary? Why it used?

DB2 INTERVIEW QUESTIONS


(Continued from previous question...)

Is DECLARE TABLE in DCLGEN necessary? Why it used?

It not necessary to have DECLARE TABLE statement in DCLGEN. This is used by the pre-compiler to validate the table-name, view-name, column name etc., during pre-compile.

(Continued on next question...)

Other Interview Questions