Viewing 15 posts - 55,651 through 55,665 (of 59,098 total)
| In other words, who are we to tell someone else the proper way to do their job, especially... |
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2007 at 3:57 pm
Heh... again, I absolutely agree... that makes for some butt ugly
code and I'd personnally never do it that way... Like you, my "Localized...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 27, 2007 at 7:58 am
There is a potential problem in this update... I've seen it lock up servers if parallism is spawned and the indexes are just right... if you need to do a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 11:01 pm
Only one way to find out... test it ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:51 pm
I'm not sure that's right... lowering the Fill Factor allows more room between items in an index. Having more "room" might also mean that a page may have to split...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:49 pm
Heh... "What works for them all the time", could break tomorrow...
Then, a new "Localized Best Practice" will be born getting them closer...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:46 pm
I pull more than a half-million rows from Oracle to SQL using a linked server and an INSERT/SELECT in less than 2 minutes... sure you want to stick with DTS? --Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
July 26, 2007 at 10:39 pm
P.S. I'll kindly with-hold the lecture about making such mixed character sequences ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:32 pm
As much as I love number (Tally) tables, there's absolutely no need for one here... nore is there the need for a bunch of functions, etc. I don't remember where...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:32 pm
Heh... I agree... but that's not the debate... "It Depends" is not the debate... the debate is "What is the best practice?" and it also seems to be coming "What the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:19 pm
Heh... I knew it
... the term "Best Practice" is a bloody Management term
... AND, it...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 10:00 pm
Like Jackie Chan's Uncle would say "Oh! One more thing"...
I keep a "Tally" table of 11,000 numbers as a permanent table... good for more than 30 years of...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 7:11 pm
Oh yeah... almost forgot... if you want a nice clustered primary key on both, the test and test results are as follows:
--===== Setup the test environment
SET NOCOUNT...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 7:06 pm
If you always want the numbers table to start at 1, this demonstrates both an alternative to the function and a comparison of run times from 10 rows to 10 million rows...
--Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
July 26, 2007 at 6:46 pm
Uh-huh... so... whatcha gonna do with values that could look like this? ![]()
SELECT ISNUMERIC('13e05')
SELECT ISNUMERIC('13d05')
--Jeff Moden
Change is inevitable... Change for the better is not.
July 26, 2007 at 5:05 pm
Viewing 15 posts - 55,651 through 55,665 (of 59,098 total)