Hacker News new | ask | show | jobs
by CWuestefeld 3866 days ago
Yup, the OUTPUT keyword is the key to making this work. Before this was added to TSQL, the only way I knew of to make this work was by using a cursor and handling each record independently.