Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / PL SQL Statements
 

The Syntax for IF ELSIF

IF <condition1_evaluates_to_true>   THEN       <perform_statements>   ELSIF <condition2_evaluates_to_true>   THEN        <perform_statements>   ELSIF <condition3_evaluates_to_true>   THEN        <perform_statements>   ELSE <this is always optional as the default value>        <perform_statements>   END IF;