Related Articles

2 users responded in this post

Subscribe to this post comment rss or trackback url
User Gravatar
Rand Thacker said in March 14th, 2008 at 4:40 pm

Good solution, but the select for the ActionTaken can be even simpler:

SELECT ‘ins’ as actionTaken

Notice you don’t need a table, or a TOP 1 or anything!

User Gravatar
Jake Churchill said in March 17th, 2008 at 4:24 pm

Excellent point. As I mentioned, SQL / Database things are not necessarily my strongest asset. Thanks for the comment!

Leave A Reply

 Username (Required)

 Email Address (Remains Private)

 Website (Optional)