• Too lazy to remember the rules about nulls and ANSI NULLS and empty strings, so I avoid tripping over them.

    Typically, I use comparisons like this:

    isnull(@variable,'') = ''

    isnull(@variable,0) = 0

    coalesce(@variable,@anothervariable,'') = ''