SavePoint-创新互联

  Whenever you roll back a transaction, it nullifies the effect of every command you’ve executed sinceSavePoint

you started the transaction. But what happens if you want to roll back only part of an ongoing transaction?

成都创新互联公司专注于仁布企业网站建设,成都响应式网站建设公司,电子商务商城网站建设。仁布网站建设公司,为仁布等地区提供建站服务。全流程按需求定制开发,专业设计,全程项目跟踪,成都创新互联公司专业和态度为您提供的服务

SQL Server handles this with a feature called savepoints.

Savepoints are markers that act like bookmarks. You mark a certain point in the flow of the transaction,

and then you can roll back to that point. You set the savepoint using the Transaction.Save()

method. Note that the Save() method is available only for the SqlTransaction class, because it’s not

part of the standard IDbTransaction interface.


本文标题:SavePoint-创新互联
文章位置:http://bzwzjz.com/article/jchgh.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 定制网站建设多少钱 外贸网站设计方案 手机网站制作 成都网站建设 重庆手机网站建设 成都做网站建设公司 成都网站建设推广 成都网站建设 网站制作公司 企业网站设计 手机网站建设 成都响应式网站建设 成都网站设计 成都网站制作 成都网站建设公司 专业网站设计 营销网站建设 成都商城网站制作 成都网站制作 重庆网站建设 品牌网站建设 高端网站建设