Collection Contents Index GET OPTION statement [ESQL] GRANT statement pdf/chap9.pdf

Reference Manual
   CHAPTER 9. SQL Statements     

GOTO statement [T-SQL]


Function 

To branch to a labeled statement.

Syntax 

label:
GOTO label

Authorization 

None.

Side effects 

None.

Description 

Any statement in a Transact-SQL procedure, trigger, or batch can be labeled. The label name is a valid identifier followed by a colon. In the GOTO statement, the colon is not used.

Standards and compatibility 

Example 


Collection Contents Index GET OPTION statement [ESQL] GRANT statement pdf/chap9.pdf