Viewing 4 posts - 1 through 4 (of 4 total)
Here's another way:
This is the approach I always use
The coalesce function allows the first non-null value so if we don't add a value it won't filter.
Like so:
Where col1 = coalesce...
April 18, 2013 at 6:03 am
Thanks man! I had forgotten about this! I was wondering why it was working on some servers but not others!
February 9, 2012 at 6:45 am
Same question....
October 14, 2011 at 9:50 am
/*
You could use a variation of the article found here: http://support.microsoft.com/kb/246133 to script out the permissions then place the generated logon for the sa account in your script.
Here's...
March 2, 2011 at 11:39 am
Viewing 4 posts - 1 through 4 (of 4 total)