Viewing 15 posts - 6,916 through 6,930 (of 18,926 total)
At this point your ideas will be better than mine. I never, ever attempted what you're trying to do. You'll have to test and tweak untill you get...
April 4, 2011 at 9:32 am
Ya but since IE still somewhats rules the market :w00t:...
April 4, 2011 at 8:39 am
Perry Whittle (4/4/2011)
should be now
Yup.
I was starting to think this was a late april's fool joke! :hehe::Whistling:
April 4, 2011 at 8:27 am
Plan Z, when you are on the correct server, lookup the sql logs about that database, that should give you more info.
Plan ZZ, is it possible to revoke Sys Admin...
April 4, 2011 at 8:20 am
Perry Whittle (4/4/2011)
my apologies i have fixed the link now
Still not working!
April 4, 2011 at 8:13 am
That's the whole extent of my experience with that issue. I won't have anything else to offer other than googling for it.
April 4, 2011 at 8:08 am
I have no other idea than the sum / count.
Have you considered calculating that 1st avg in the main select? That would take care of the ssrs challenge.
I know...
April 4, 2011 at 8:05 am
It's actually "worse" than that. If you want a garanteed index seek, the predicate needs to return 0.3% OR LESS of the data in the table.
Needless to say that...
April 4, 2011 at 7:51 am
Start a trace that filters on duration > 50 ms or whatever you feel will get the data back.
Then investigate. It's most likely a set a parameters that could...
April 4, 2011 at 7:33 am
Are you logged in the correct instance?
Are you logging as a SA? If not, do you have permissions to access that db?
April 4, 2011 at 7:29 am
JohnnyDBA (4/4/2011)
April 4, 2011 at 7:11 am
Look at my code... it's doing EXACTLY what you need.
You're just proving my point that you need to understand the code before implementing it.
Remember that at 3 AM you'll be...
April 4, 2011 at 7:08 am
I don't give the code because I want you to UNDERSTAND 100%.
SELECT SUM(CASE WHEN DATE BETWEEN <Start> AND <END> THEN invoiceamt ELSE 0 END) As Period1
, SUM(CASE WHEN DATE BETWEEN...
April 4, 2011 at 7:01 am
Sure of what? I have this is prod without issue, with great performance.
I've simply pasted working code so that he gets the idea of sum(case when period).
That requires s...
April 4, 2011 at 6:38 am
Here's the actual working link...
http://www.sqlservercentral.com/Forums/Topic1087470-1550-1.aspx
April 4, 2011 at 6:31 am
Viewing 15 posts - 6,916 through 6,930 (of 18,926 total)