Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
try catch, raiserror and throw
-- error raise begin try declare @a int=0 set @a=(1/0) end try begin catch print('divide by zero') raiserror('divide by zero',16,1) -- 1. message 2. level 3. state -- new feature of 2012 sql server "throw" --Throw; end catch
run
|
edit
|
history
|
help
0
SQL Server Mistique!?
c12part2
test1
Libros
Veterinary 1
TESTE PLATAFORMA
Transaction Test
Insert With Output Cluase
Extracting Id No
Common Table Expression