Next loop
Use Next in For loops to end the loop.
Syntax
Next VAR_LOOP
Next
VAR_LOOPis the variable used in ForVAR_LOOP=... syntaxes.
See also
For, To, Step, Order By, reckey, Where, With, Lock, Stability, From, System, Hint, Nohint, Break.