Viewing 15 posts - 7,606 through 7,620 (of 18,923 total)
Grant Fritchey (10/22/2010)
Oops. I spend most of my time in 2008 these days. I tend to bleed that stuff back down the chain sometimes.
No sweat, I'm glad I learned this...
October 22, 2010 at 8:38 am
SureshS_DBA (10/22/2010)
GrantI believe DBCC freeproccache (<guid>). will work on 2008 only....
Confirmed, doesn't work on sql 2005 standard SP 2
October 22, 2010 at 8:24 am
It's like air guitar... it's pretend code rather than actual table scripts and actual data which gives you the final and tested query.
October 22, 2010 at 5:13 am
Compare both execution plans to find the difference.
It's likely a parameter sniffing issue (plenty of articles in google about that)
October 21, 2010 at 11:56 am
Why would you leave so much ram for windows?? 38.4 Gb seems like a lot for nothing... especially if nothing else is running besides sql server db engine.
October 21, 2010 at 11:01 am
I don't know if it makes sens for your data, but I usually copy the begin and end date filters in the derived tables as well when I can.
This usually...
October 21, 2010 at 7:57 am
There's no way this is the whole query. I have a small laptop here and returning 1M records takes only seconds.
That means that your query is either way more...
October 20, 2010 at 10:59 am
Geoff A (10/20/2010)
USE [YourDataBaseName]
GO
CREATE NONCLUSTERED INDEX [IX_Deleted_Ind ] ON [dbo].[Table1]
(
[Deleted_Ind] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY...
October 20, 2010 at 10:57 am
How long did it take before you started using our recommendations?
October 20, 2010 at 7:31 am
Bill_CCAC (10/19/2010)
9 seconds total execution time.
How much seconds did you save from the original query compared to the new one.
October 19, 2010 at 2:25 pm
It's 9 seconds less?
9 secs total.
It started from 10 secs or 10 days?
October 19, 2010 at 2:04 pm
Richard M. (10/19/2010)
October 19, 2010 at 1:29 pm
Daniel Bowlin (10/19/2010)
one lesson I have learned...Don't Change ANYTHING on Friday! Just answer easy questions on SQL Server Central
I've known some people that have tried to make this don't...
October 19, 2010 at 1:24 pm
Bill_CCAC (10/19/2010)
I had been trying to use the case statement but ran into problems and didn't get the results I was after....
October 19, 2010 at 12:11 pm
As it's been pointed out you can do a single query and add an age group. From there pivot the data in the reporting application.
That'll take out 99% of...
October 19, 2010 at 11:17 am
Viewing 15 posts - 7,606 through 7,620 (of 18,923 total)