Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YAQ on BIZ and DA tiers
Message
From
30/08/2009 00:37:17
 
 
To
29/08/2009 23:56:49
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01419401
Message ID:
01421715
Views:
51
Thanks, Kevin. I didn't know about OUTPUT - I'll be using it!

NP, hope it helps...

I wrote about this in CoDe magazine a few years ago: Listings 5 and 6 at the bottom of this link have a few examples:
http://www.code-magazine.com/article.aspx?quickid=0709031&page=3

It's even part of the new MERGE statement in 2008 - when you do a MERGE (i.e. "UP-SERT"), you can output what was inserted and what was changed, either as a result set, or to a temp table or table variable.
Previous
Reply
Map
View

Click here to load this message in the networking platform