Scope and Visibility

The scope of Embedded SQL variable names (statements, cursors, and connections) follow the rules that apply to C variables.