Viewing 15 posts - 45,511 through 45,525 (of 59,063 total)
And, if you take a look at the following article, you'll find the "old fashioned way" actually has a bit of a performance edge over the PIVOT method...
January 26, 2009 at 5:47 pm
Actually... I take that back. They need to leave UPDATE FROM the heck alone so that we can still use the "Quirky Update" for "data smears" even if they...
January 26, 2009 at 4:23 pm
GSquared (1/26/2009)
rog pike (1/26/2009)
Jeff Moden (1/26/2009)
January 26, 2009 at 4:21 pm
rog pike (1/26/2009)
Jeff Moden (1/26/2009)
January 26, 2009 at 4:19 pm
Man, sorry, Gus... :blush: I meant a "While Loop" for the count comparison, lost my mind, and said "Cursor" instead. A WHILE LOOP has about the same speed...
January 26, 2009 at 12:33 pm
The proper way to do such a detection is similar to the following where '1D3' could be a column name...
[font="Courier New"] SELECT 1 AS IsAllDigits
WHERE '1D3' NOT LIKE...
January 26, 2009 at 12:14 pm
Be careful... ISNUMERIC should never be used as an "IS ALL DIGITS" function... For example...
SELECT ISNUMERIC('1D3'), ISNUMERIC('1E3'), ISNUMERIC('1.3'), ISNUMERIC('-13')
January 26, 2009 at 12:11 pm
GSquared (1/26/2009)
Is that from when I told someone to stop using those on you, Jeff? Just last week, if I remember correctly.
Yes, Sir! And I have to tell...
January 26, 2009 at 11:51 am
Lynn Pettis (1/26/2009)
Cardinal Moden is an excellent resource in the fight against RBAR. I must admit to having learned quite a bit from his excellent mentoring via SSC.
Dang, Lynn......
January 26, 2009 at 11:47 am
Sankar Reddy (1/26/2009)
January 26, 2009 at 11:37 am
GilaMonster (1/26/2009)
Jeff Moden (1/26/2009)
January 26, 2009 at 11:35 am
GilaMonster (1/26/2009)
January 26, 2009 at 11:29 am
As a side bar, I've finally discovered the true meaning of the acronym "CLR"...
[font="Arial Black"]C[/font]ursors, [font="Arial Black"]L[/font]oops, and other [font="Arial Black"]R[/font]BAR. 😛
January 26, 2009 at 11:28 am
Steve Jones - Editor (1/26/2009)
January 26, 2009 at 11:25 am
Luke L (1/25/2009)
January 26, 2009 at 11:21 am
Viewing 15 posts - 45,511 through 45,525 (of 59,063 total)