OUTPUT is the best way to capture IDENTITY insert values:
http://www.sqlusa.com/bestpractices2005/outputidentitycapture/
Kalman Toth Database & OLAP Architect sqlusa.com
New Book / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012
No comments:
Post a Comment