using try catch finally in SQL
来源:互联网 发布:游戏特效软件 编辑:程序博客网 时间:2024/06/05 22:52
-- sorry, it looks so like the assemble language struct
-- when power not enough, or memory capacity not enough, or other reasons
delete from table1 where id='123456789'
-- @@ERROR is a global error variable, it will err when its variable is not 0
if @@ERROR!=0 goto catch
-- do something, when all are right.
-- after do something, you should go to do final thing
goto finally
catch:
print 'an exception has occured!'
finally:
print 'do something finally'
- using try catch finally in SQL
- C# using 与Try-catch-finally的区别和用法
- C# using 与Try-catch-finally的区别和用法
- try..catch..finally
- try-catch-finally
- Try-catch-finally机制
- 关于try-catch-finally
- C# try catch finally
- try...catch...finally
- try catch finally用法
- Try ---Catch----Finally
- try...catch... finally
- try....catch...finally 妙用
- try{} catch(){}finally{}执行
- Try Catch Finally
- try-catch-finally
- C# try, catch ,finally
- try catch finally
- sqlserver唯一权限
- 教程:打造自己的一个个性QQ邮箱
- Makefile详解 书写命令
- linux多线程设计
- Tomcat 与 Java 的环境变量配置
- using try catch finally in SQL
- 设置Global Breakpoint定位错误代码所在位置
- DIV+CSS 网站标准
- SQL SERVER2005触发器
- C++虚函数表解析(转) ——写的真不错,忍不住转了
- 如何调试EXC_BAD_ACCESS
- ajax缓存问题
- 使TileCache配合OpenLayers,产生地图瓦块的一些资料
- tix,断言,tk