Viewing 15 posts - 976 through 990 (of 1,825 total)
Can you post the code for all the sql involved (including functions etc)
March 2, 2010 at 1:23 am
Paul White (2/27/2010)
Dave Ballantyne (2/27/2010)
I have a blog entry on dynamic sql and unbalanced data loads which seems appropriate to pimp here 😉
Very nice. I seem to recall that...
February 27, 2010 at 4:47 am
I have a blog entry on dynamic sql and unbalanced data loads which seems appropriate to pimp here 😉
February 27, 2010 at 4:13 am
Things seem to get more complex:
Because I want to consolidate matches from different tables, in Dave's suggestion, splitting WhitePage to two tables means I need to add extra OR in...
February 27, 2010 at 3:19 am
How do I know if the stats is up to date?
Have you got auto update stats set on the database ?
If not use UPDATE STATISTICS command
I click on the Estimated...
February 25, 2010 at 8:58 am
Its the lookup to WhitePaper that is killing you ?
Are your stats upto date ?
I agree that this is not an actual plan but an estimated one.
Does this perform better...
February 25, 2010 at 2:08 am
Replacing a cursor with a while loop is not a hell of a lot better, the object is not to loop either by cursor or a while loop.
First off if...
February 24, 2010 at 8:03 am
Are you getting an error or does it appear to be working?
February 24, 2010 at 6:34 am
just fyi i think this is performing badly due to a bug in 2005 ive documented here
What you need to do is use top(1) within the cross apply with than...
February 24, 2010 at 5:31 am
Im with Lutz on this one.
Not knowing your performance problem , its hard to be specific but a partitioned table would be a better solution.
February 24, 2010 at 5:05 am
Can you provide DDL and sample data ?
I have one or two ideas i would like to try.
February 24, 2010 at 4:49 am
I would expect the non filter to be slower , but only because of the amount of data that needs to be sent to the client. Not for any...
February 22, 2010 at 6:37 am
Both will have to scan the complete table.
The only ,noticeable, difference would be that amount of data that the non filtered version will return to the client.
February 22, 2010 at 4:50 am
They should show in those , are you sure you are not filtering them out on another condition
February 22, 2010 at 4:28 am
Subtracting 7 hrs should work
Heres one option, untested
Select fileid,dateadd(hh,-7,OutTime) as Date,
sum(UploadJobs) as LiveJobs
...
February 22, 2010 at 2:23 am
Viewing 15 posts - 976 through 990 (of 1,825 total)