1 IF_Control Executes one or more SQL statements conditionally. It then continues processing by executing any SQL statement that immediately follows the block. 2 Environment You can use the IF control statement in a compound statement: o In interactive SQL o Embedded in host language programs to be precompiled o As part of a procedure in an SQL module o In dynamic SQL as a statement to be dynamically executed 2 Format (B)0if-statement =    qqqqq> IF predicate THEN qqwq> compound-use-statement qwqqqqqqqqk   mqqqqqqqqqqqq ELSEIF predicate THEN qwq> compound-use-statement qwqj x x   x mqqqqqqqqqqqq END IF qqqqqqqqq>   mq> ELSE qqwq> compound-use-statement qwqj   mqqqqqqqqqqqq 30 THEN SET :MSG = 'Class is too large.'; ELSE SET :MSG = 'Class size is O.K.'; END IF;