Viewing 15 posts - 45,541 through 45,555 (of 59,101 total)
DB_Newbie2007 (1/26/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 7:16 pm
Jeff Moden (1/26/2009)
Also, will that snippet of code tell you...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 6:41 pm
I agree with Gail... be very careful about removing indexes just because they haven't been used in a week or two.
Also, will that snippet of code tell you if the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 6:36 pm
Ratheesh.K.Nair (1/23/2009)
Hi Experts,Can anyone please help me in giving assignments to DBA trainees.They need to know from scratch. What type of assignments have to give them?
TIA
First thing taught in most...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 6:26 pm
A call to BCP with a format file would probably have a whole lot more performance.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 6:19 pm
... or a negative number or something that won't convert to an INT.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 6:06 pm
Gift Peddie (1/26/2009)
Update using the FROM clause violates JOINs are idempotent rule in relational algebra.
Heh... ummmm... so what? Cursors violate the whole idea of a database but they continue...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 5:53 pm
Thanks for the feedback, Tony. And, anyone who wants to learn more about how a Tally table works to replace some loops, here's a pretty good (heh... if I...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 5:50 pm
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...
[font="Arial Black"]Cross Tabs...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 4:23 pm
GSquared (1/26/2009)
rog pike (1/26/2009)
Jeff Moden (1/26/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 4:21 pm
rog pike (1/26/2009)
Jeff Moden (1/26/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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')
--Jeff Moden
Change is inevitable... Change for the better is not.
January 26, 2009 at 12:11 pm
Viewing 15 posts - 45,541 through 45,555 (of 59,101 total)