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