![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
ZZM186
这个作者很懒,什么都没留下…
展开
-
A SQL Server DBA myth a day: (26/30) nested transactions are real
By: Paul Randal Posted on: April 26, 2010 11:03 am (Look in the Misconceptions blog category for the rest of the month’s posts and check out the 60-page PDF with all the myths and misco转载 2014-09-23 20:31:10 · 560 阅读 · 0 评论 -
关于Sql Server数据库中的事务如何处理
本教案需配合视频教程学习,视频教程地址为:http://www.xin3721.com/eschool/SQLxin3721/ Sql server中的事务处理功能:为了保证数据库的完整性。 事务(transaction):是将多个修改语句组合在一起的方法,这个方法中的所有语句只有全部执行才能正确完成功能。即要么全部执行,要么全部不执行。 事务的acid特性: 原子性:事务处理语句是转载 2014-09-23 20:09:35 · 760 阅读 · 0 评论 -
What is “Begin Trans”, “Commit Tran”, “Rollback Tran” and "save tran"
Begin Tran: - It’s a point which says that from this point onwards we are starting the transaction. Commit Tran: - This is a point where we say we have completed the transaction. From this point t转载 2014-09-23 20:28:39 · 535 阅读 · 0 评论 -
碰到嵌套事务-笔记
相关SQL语句: BEGIN TRAN SAVE TRAN COMMIT TRAN ROLLBACK TRAN 嵌套事务示例: BEGIN TRAN Tran1 BEGIN TRAN Tran2 COMMIT TRAN 可以单独指定某个事务名,如Tran1,Tran2进行提交。其实也没什么效果,即使Tran2提交成功了,只要将外层事务Tran1回滚,Tran2保存的数据照样被回滚!转载 2014-09-23 20:07:00 · 695 阅读 · 0 评论