sqlserver 返回刚插入的那条数据

insert into xxxxxx(Col_002,UrgentStatus,DoWorkShop,Col_004,Col_005,Col_006,Col_003,Col_007,postQQ,Col_008,Col_009,Col_010)
OUTPUT  Inserted.sys_guid
values(@Col_002,@UrgentStatus,@DoWorkShop,@Col_004,@Col_005,@Col_006,@Col_003,@Col_007,@postQQ,@Col_008,@Col_009,@Col_010)  

  

posted on 2017-09-04 09:22  雪原日暮  阅读(587)  评论(0)    收藏  举报