yes. use OUTPUT clause and capture details to a table variablecode will look likeDECLARE @INSERTED_VALUES table(IDVal int,COl1 ...,Col2 ..,..)INSERT TableTwo(Col1,Col2,..)OUTPUT INSERTED.ID,INSERTED.COl1,INSERTED.Col2... INTO @INSERTED_VALUESSELECT Col1,Col2,..FROM TableOneSELECT *FROM @INSERTED_VALUES
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs