Viewing 15 posts - 631 through 645 (of 649 total)
I was interested by Colin's remark that a WHILE loop is a cursor in disguise. What are the comparative timings?
January 15, 2007 at 6:30 am
It has never happened to me as far as I'm aware, but Andras (of SQL Refactor fame) investigated a self-deadlock in SQL Server 2005 SP1 and wrote about it on...
January 8, 2007 at 10:58 am
Quite right!, IS NULL will always return either true or false, but I was trying to illustrate how a logical expression involving a NULL will return a NULL rather than TRUE or...
January 5, 2007 at 11:55 am
The problem with your original expression is that SQL92 and ANSII standard specifies that the result of a logical expression with a NULL in it is NULL. This is because...
January 5, 2007 at 6:50 am
Wouldn't it be less confusing just to say that NULL means 'Unknown'? (or 'unquantifiable', if you are a mathematician). Then the results of expressions seem perfectly reasonable. The only behaviour...
January 5, 2007 at 2:07 am
Steve, thanks for referring to my Blog entry. As you know, I've done quite a bit of writing for Simple-Talk, but I have no financial interest in Red-Gate whatsoever. I...
November 24, 2006 at 2:18 am
The whole issue of multilanguage support is tackled very early on in any database that is designed from the ground up to work in Europe, so others would describe it far...
November 17, 2006 at 5:54 am
From what I know of the folks at Red-Gate, I believe they bought the site because they love it the way it is. They are avid readers of the site, and admire...
November 14, 2006 at 9:31 am
Well, to get the sixth highest (or lowest with a very slight mod..) in every group, a simple way would be to skim off the keys for the top five...
July 12, 2006 at 3:06 am
Surely Mark wants to get a DateTime value into @Start_Date which normally corresponds to the last monday, but to the monday before that if there has been a bank holiday....
July 6, 2006 at 2:36 pm
Forgive me for presuming to re-write your routine, but I don't see why you need the table at all. If all you are doing is getting the datetime value of...
July 5, 2006 at 12:29 pm
Thanks, David. Definitely an improvement, and takes care of the single quotes and SQL Injection risks. I was so tickled to get the original example working that I forgot about...
July 5, 2006 at 5:58 am
Viewing 15 posts - 631 through 645 (of 649 total)