摘要: 今天写了一个SQL,觉得挺牛逼的,被人一句话 毙了 DECLARE @ProductId INT , @ProductCount INT --提仓调整冻结库存 IF @Adjusttype=1 BEGIN ... 阅读全文
posted @ 2015-07-14 21:53 小菜鸟飞飞 阅读(799) 评论(0) 推荐(0) 编辑
摘要: sql 中的Tran 俩种写法第一种写法 try catch:Begin TRY Begin Tran transaction DECLARE @ServiceOrderId INT SET @ServiceOrderId=73342 DEC... 阅读全文
posted @ 2015-07-14 17:58 小菜鸟飞飞 阅读(1099) 评论(0) 推荐(0) 编辑