Skip to content

exit_if

jeremywinters edited this page Apr 14, 2017 · 1 revision

Command: EXIT_IF

description:

evaluate an expression... exit script if condition is true

parameters:

  • required - expression1
  • required - conditional_operator... = != >= =< > <
  • required - expression2

behavior:

  • expressions can be either a numeric literal, or a variable reference enclosed in braces
  • is not associated with a SQL statement

examples:

 /*-exit_if :first_insert = 0 -*/
 
 /*-exit_if :first_insert > :last_statement_rows_affected -*/