新手上路

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年3月22日

摘要: set @ai_DupCount=0; set @as_Sql = N'select @ai_DupCount=count(*) from ' + @as_TbName + ' where ' + @as_ColName + ' = ' + @as_ID; execute sp_executesql @as_Sql,N'@ai_DupCount int output',@ai_DupCount output;set @as_Sql='delete from ' + @as_TableNames + ' wh 阅读全文
posted @ 2012-03-22 17:25 冬夜听雨 阅读(991) 评论(0) 推荐(0) 编辑