您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

存储过程删除主从表,回滚操作

2025/6/3 18:24:52发布18次查看
用存储过程操作删除主从表记录,操作成功提交事务,失败回滚操作,避免删除异常误删数据。 . (@parameter1 int = 5,@parameter2 datatype output) */ ( @fromcustomerid int , @customertype int , @result int output) lightingcontrolscenelevel paradoxsc
用存储过程操作删除主从表记录,操作成功提交事务,失败回滚操作,避免删除异常误删数据。
.(@parameter1 int = 5,@parameter2 datatype output)*/(@fromcustomerid int,@customertype int,@result int output)lightingcontrolscenelevel paradoxscene lightingcontrolscenecomfort lightingcontrolscenestatus lightingcontrolscene lightingcontrolcircuit where lcid in (select lcid from lightingcontrol where customerid=@fromcustomerid)alarm rxparam device comfort cctvgroup cctv area comfortrx ;;
view code  

该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product