Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / PL SQL Statements
 

The Syntax for Nested IF Statements

IF <condition1 evaluates to  true>   THEN        IF <condition2 evaluates to true>        THEN             <perform statements>        ELSE <both conditions have been evaluated to false>             IF <condition3 evaluates to true>             THEN                  <perform statements>             ELSE                  <perform statements>             END IF;        END IF;   END IF;