_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › ThrowInErrorHandling

れ螻 螳 讌覃 襯 襴危.
THROW 50001, 'Error message', 1;

Msg 50001, Level 16, State 1, Line 1 Error message

れ 襯 谿瑚.
begin try 
  select 'using throw'
  select 1 / 0  
end try 
begin catch 
  --throw error 
  throw
end catch

蟆郁骸 れ螻 螳.
(1 row(s) affected)

 (0 row(s) affected)

Msg 8134, Level 16, State 1, Line 3

Divide by zero error encountered.
蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:54

覓伎 螳企磯 詞 螳危 蟆企. 蠏瑚朱 豢覿. 螻糾鍵襯 誤″ 磯 れ綾覓 襦 譟燕. (R. 襦る)