navigation
 Wednesday, May 07, 2008

This is actually right in the SQL Server Books Online, but not easily found. Given a temp table named #temp:

if ( object_id( 'tempdb..#temp' ) is null )
    -- table doesn't exist
else
    -- table exists
posted on May 7, 2008  #    by Adam Anderson  Comments [0] Trackback

Here is an interesting article on a way to turn many looping row-based operations into set-based ones: http://www.sqlservercentral.com/articles/TSQL/62867/

I think the idea is a clever one, and I love the "Row By Agonizing Row" (RBAR) acronym!

posted on May 7, 2008  #    by Adam Anderson  Comments [0] Trackback
 Tuesday, May 06, 2008

I'm a big fan of the Opera browser for its speed and excellent out-of-the-box functionality. One of the few things I have been willing to concede that it was lacking was a good interactive debugger like FireBug, until now. Opera Dragonfly has arrived!

posted on May 6, 2008  #    by Adam Anderson  Comments [0] Trackback
Consider how many times we’ve run into the following scenario: We’ve got a GUI design, say, a simple WinForm. Upon interaction with the form, we need to launch a CPU-intensive operation, one which might take a while. At some point the operation will complete and we want the result to show on the form. That’s where the problem starts...
posted on May 6, 2008  #    by Angelo Martinez  Comments [0] Trackback
 Wednesday, April 30, 2008
When writing queries that group and aggregate, it is not uncommon for there to be many columns in the SELECT clause that are neither in the GROUP BY clause nor being aggregated. Learn two different ways to write such queries without compromising performance.
posted on April 30, 2008  #    by Adam Anderson  Comments [0] Trackback
 Tuesday, April 29, 2008
I was working on some code today, that was trying to find a string in a list of strings. I came up with a neat way to express it using a lambda expression.
posted on April 29, 2008  #    by John Waters  Comments [0] Trackback
The first time I tried to add an intro and an exit slide to a Camtasia video, I had some problems with the audio becoming un-synced. Here is how to add the sound and image slides to the video without problems.
posted on April 29, 2008  #    by Aaron Rhodes  Comments [0] Trackback
 Friday, April 25, 2008

This article presents some interesting ideas on when and when not to use AJAX.

http://dev.opera.com/articles/view/stop-using-ajax/

posted on April 25, 2008  #    by Adam Anderson  Comments [0] Trackback
This week I needed a particular VisualStudio 2005 project template called "ASP.NET AJAX-enabled Web site" and I could not for the life of me get it to show up. Here are the steps I used to fix it.
posted on April 25, 2008  #    by Aaron Rhodes  Comments [0] Trackback
 Wednesday, April 23, 2008
SQL Server provides three different ways to retrieve identity values generated by the database. Here is a detailed description of how they differ.
posted on April 23, 2008  #    by Adam Anderson  Comments [0] Trackback
 Monday, April 21, 2008
You can't run MSI or CAB files "As Administrator" directly from the explorer in Vista, but there's a workaround.
posted on April 21, 2008  #    by Noel Rice  Comments [0] Trackback
 Saturday, April 19, 2008
I am attending the ALT.NET open spaces conferences this weekend. The opening was last night and was my introduction to the whole open spaces concept (see the video of the opening at Jeffery Palermo's web site). So many of the bloggers that I follow are attending. It was great to meet them.
posted on April 19, 2008  #    by Falafel Author  Comments [0] Trackback