Dela via


Control-of-Flow Language (Transact-SQL)

The Transact-SQL control-of-flow language keywords are:

BEGIN...END

RETURN

BREAK

THROW

CONTINUE

TRY...CATCH

GOTO label

WAITFOR

IF...ELSE

WHILE

See Also

Reference

CASE (Transact-SQL)

/*...*/ (Comment) (Transact-SQL)

-- (Comment) (Transact-SQL)

DECLARE @local\_variable (Transact-SQL)

EXECUTE (Transact-SQL)

PRINT (Transact-SQL)

RAISERROR (Transact-SQL)