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

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -