Controlling the Flow of Execution

Control Structures are probably the most useful (and important) part of the SQL Programming Language. With control structures, you can retrieve and/or manipulate data in a very flexible and powerful way.

See the following topics:

Using Conditions to Control the Flow of Execution

Using Loops to Control the Flow of Execution