控制流Control-of-Flow

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions)

Transact-SQLTransact-SQL 控制流语言关键字包括:The Transact-SQLTransact-SQL control-of-flow language keywords are:

GOTO 标签GOTO label

另请参阅See Also

CASE (Transact-SQL) CASE (Transact-SQL)
斜杠星型(块注释)(Transact-SQL) Slash Star (Block Comment) (Transact-SQL)
-- (注释) (Transact-SQL) -- (Comment) (Transact-SQL)
DECLARE @local_variable (Transact-SQL) DECLARE @local_variable (Transact-SQL)
EXECUTE (Transact-SQL) EXECUTE (Transact-SQL)
PRINT (Transact-SQL) PRINT (Transact-SQL)
RAISERROR (Transact-SQL)RAISERROR (Transact-SQL)