Is there an SQL Server equivalent to Oracle's RETURNING statement?
Is there an SQL Server equivalent to Oracle's RETURNING statement?
I'm wondering if开发者_StackOverflow中文版 the OUTPUT clause would help.
Yes, the OUTPUT
clause is exactly what you need.
In SQL Server 2008
you can even chain the output clauses.
精彩评论