SQL事务写法
摘要:
BEGIN TRANSACTION DeleteSupv --SQL语句 IF @@error<>0 BEGIN ROLLBACK TRAN DeleteSupv GOTO on_errorEND --SQL语句 IF @@error<>0 BEGIN ROLLBACK TRAN DeleteSupv GOTO on_errorEND COMMIT TRAN DeleteSupvRETURN 1on_error: print 'Error occured' 阅读全文
posted @ 2007-05-16 18:05 白亚伟 阅读(977) 评论(0) 推荐(0) 编辑