exit_if - full360/sneaql GitHub Wiki
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 -*/