sql - How do you retrieve the new keys from an INSERT INTO SELECT FROM query? -
Is there a way to recover all the keys of new inserted records used in any INSAT ... Select from query?
entry @myvar Populate dbo.argetTable in table (id int) INIDED IN. Select @mivor * from dbo.SourceTable SELECT * FROM @MyVar
Comments
Post a Comment