阅读背景:

SQL Server选择合并后加入列

来源:互联网 

Using a populated Table Type as the source for a TSQL-Merge. I want to execute a select statement after the merge, retrieving all columns/rows of the table type, but instead of the '-1' value, I want the new inserted id. I am not sure I can do this in a fully set-based manner, can I?Using a populated Table Type as the source for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: