views:

37

answers:

1

Is there an SQL Server equivalent to Oracle's RETURNING statement?

I'm wondering if the OUTPUT clause would help.

+1  A: 

Yes, the OUTPUT clause is exactly what you need.

In SQL Server 2008 you can even chain the output clauses.

Quassnoi