Viewing 15 posts - 1 through 15 (of 28 total)
Eugene Elutin (8/12/2010)
Mike Nuessler (8/12/2010)
So the first condition (a=0) of the OR is evaluated and it will not look at...
August 12, 2010 at 8:50 am
Nothing fancy there it evaluates the conditions in order.
So the first condition (a=0) of the OR is evaluated and it will not look at second condition (b=0) unless...
August 12, 2010 at 8:36 am
anthony.green (11/25/2008)
The version will have to be enterprise due to the amount of RAM that is being installed into each machine.Ant
We're looking at upgrading from 2K to 2K8 as well...
November 25, 2008 at 9:33 am
Ok, now that you're taking opinions..
My opinion would be not to do it. Whether it's a production or development SQL2K DB server all you want running on that machine...
July 11, 2008 at 9:28 am
I think Peter has proven his case here..
Thank you to everyone for suggestions; in the long run every one is valuable to improve my SQL skills.
Cheers, Mike
February 4, 2008 at 9:40 am
Sergiy (1/31/2008)
Mike Nuessler (1/31/2008)I see the table spool as well.
Did you copy HASH JOIN?
I just tried it again. Copied straight from your post, pasted into QA, and ran...
January 31, 2008 at 1:49 pm
Peter Larsson (1/31/2008)
When you tested, did you notice a significant difference between them?
I just created a stored procedure for Peter's method and executed the two of them.
Sergiy's proc...
January 31, 2008 at 12:59 pm
It appears I may need to modify my production code *sigh* thanks to Peter...
After modifying his original post for SQL2000 method to sort properly it works great!
Here's the modification:
[font="Courier New"]Declare...
January 31, 2008 at 10:50 am
Interesting.
I am going to modify your suggestion as required for my needs and run it on production data against my modified Sergiy method and see what happens.
Null fields...
January 31, 2008 at 9:29 am
Whoops...Sorry, forgot to index my test data :blush:
January 31, 2008 at 8:51 am
Yet another method. Thanks Peter.
The output results aren't exactly what I need (but I think you're editing the post as I type this because I've tried 2 different query...
January 31, 2008 at 8:35 am
Ok, Sergiy wins. Lightning fast and easily maintainable if required.
I had to look at that function line a few times ... SET @Count = ReviewNo = CASE ...
to...
January 30, 2008 at 8:30 am
Another interesting approach. Thank you. The data doesn't result in the format I need with this method however. It creates a nice comma-delimited dates per year instead....
January 29, 2008 at 10:28 am
Thank you - I thought there had to be a way but couldn't quite get there and wasn't given the time to work it out.
Checking the execution plan I see...
January 29, 2008 at 8:49 am
I think it's complaining about the line continuation character actually.
try
q = DTSLookups("FiltroStoricoIdLotto_Lookup").Execute(DTSSource("Id"), DTSSource("Lotto"))
instead of
q = DTSLookups("FiltroStoricoIdLotto_Lookup")._
Execute(DTSSource("Id"), DTSSource("Lotto"))
September 28, 2007 at 9:00 am
Viewing 15 posts - 1 through 15 (of 28 total)