摘要: How to rollback a transaction in a stored procedure? 执行的存储过程需要transaction的话,在调用的时候传入 如果有事务锁定了数据库,那么可以直接rollback 在执行存储过程的的时候,错误提示 You attempted to acqu 阅读全文
posted @ 2017-08-11 19:01 ChuckLu 阅读(961) 评论(0) 推荐(0) 编辑
摘要: Cursors (Transact-SQL) Microsoft SQL Server statements produce a complete result set, but there are times when the results are best processed one row 阅读全文
posted @ 2017-08-11 15:19 ChuckLu 阅读(603) 评论(0) 推荐(0) 编辑