Control-of-Flow
statements #tsql#statements
The Transact-SQL control-of-flow language keywords are:
BEGIN.END
RETURN
BREAK
THROW
CONTINUE
TRY.CATCH
GOTO
label
WAITFOR
IF.ELSE
WHILE
CASE (Transact-SQL)
Slash Star (Block Comment) (Transact-SQL)
— (Comment) (Transact-SQL)
DECLARE @local_variable (Transact-SQL)
EXECUTE (Transact-SQL)
PRINT (Transact-SQL)
RAISERROR (Transact-SQL)
See Also