Viewing 15 posts - 56,581 through 56,595 (of 59,072 total)
That's exactly what I was talking about... if you "convert the two columns", you destroy most opportunities to use an index if one is available. The method I displayed allows...
April 11, 2007 at 8:05 pm
Thanks, Paul... I appreciate the feedback.
Rambling on a bit... If you consider that dates are nothing but underlying numbers that represent the number of whole and fractional days since midnight,...
April 11, 2007 at 6:47 am
TheDate column would also make a good clustered key candidate... see my last post immediately above for how to get around the "joining with time" problem... it's a very common...
April 11, 2007 at 6:27 am
Sure... it's a very common request... and most folks do it the wrong way, in my opinion... they'll write some nasty (or nice) index killing formula in the WHERE clause of their...
April 11, 2007 at 6:21 am
Yep... spot on... couple of us have "Auxilliary Date Tables" that span many years to answer questions like what's the 2 Thursday of July of year xxxx, etc, etc. Between...
April 10, 2007 at 9:48 pm
Sure... but let's just say you're storing the bitmap as 16 bits (using any of a couple of methods)... what do you have to do if you add a 17th...
April 10, 2007 at 9:08 pm
... and now everyone knows why I asked four times what the heck the EXE was doing! ![]()
First, I gotta say, it sounds...
April 10, 2007 at 7:54 pm
Rather than denormalizing with a bit-wise operator, why not just make a simple normalized table of Holidays with the region code?
April 10, 2007 at 7:36 pm
...and I guess the words "formatted code" just aren't in your dictionary, huh?
April 10, 2007 at 1:40 am
I think you're the same guy from the "other" forum that asked the same question.... if I recall correctly, you will actually receive two 500GB files from your client. That...
April 9, 2007 at 8:43 pm
...and, still, we don't know what the EXE is doing...
April 9, 2007 at 7:50 pm
Nope... it's likely a batch job to be run only one batch at a time... but I do get your point. ![]()
April 9, 2007 at 7:42 pm
Must be a difference in boxes we're running on... I don't come up with your's being 3 times faster, but the point about the WHILE loop method is still well...
April 9, 2007 at 6:17 pm
Very cool... and, now you know why I wait a day or two before adding anything to the script library
Nice job,...
April 9, 2007 at 5:44 pm
Viewing 15 posts - 56,581 through 56,595 (of 59,072 total)