当前位置: 代码迷 >> Sql Server >> 存储过程中update的表格如何用output导出
  详细解决方案

存储过程中update的表格如何用output导出

热度:40   发布时间:2016-04-24 09:22:55.0
存储过程中update的表格怎么用output导出
如题

update XX
set xxxxxxx
from
where 
其中这些都是存储过程中
结果里只显示处理多少行


这个output怎么用
或者SELECT 查询所有数据
------解决思路----------------------

update XX
 set xxxxxxx
 output inserted.*    --> output子句
 from
 where 
  相关解决方案