Viewing 15 posts - 4,321 through 4,335 (of 5,841 total)
This is gonna be a monster SUM(CASE ...) query, but definitely doable as long as the column values are known. Have fun Jeff. Something like this is billable...
December 3, 2009 at 8:30 am
1) I would turn off hyperthreading. it is more often suboptimal than helpful for sql server workloads
2) your disk metrics are not as good as you think. 10...
December 3, 2009 at 8:26 am
1) why are you checking for memory problems? Those are maybe 5% of the actual performance problems out there.
2) are you actually HAVING any performance problems? ...
December 3, 2009 at 8:18 am
Jportelas (12/2/2009)
December 3, 2009 at 8:15 am
mohammed moinudheen (12/2/2009)
But in SQL server 2000 when we run optimization jobs, does it do...
December 3, 2009 at 8:13 am
doobya (12/3/2009)
use the lightweight online version
http://msdn.microsoft.com/en-us/library/ms130214.aspx
I would avoid the (extremely bad) microsoft local help system
the online versions are much quicker
that is unless you like:
- waiting up...
December 3, 2009 at 8:11 am
Actually LMU our queries do not produce the same plan. It only seems that way due to the limitations of the graphical query plan you probably looked at. ...
December 1, 2009 at 2:47 pm
RBarryYoung (12/1/2009)
support.sql (11/26/2009)
...Please evaluate @nalytics Performance Free Data Collector for Microsoft SQL Server & Windows Server...
You know, this kind of constant product spamming would go down a lot easier if...
December 1, 2009 at 2:39 pm
I didn't use the NTILE function because it seemed the OP wanted the 'buckets' of leads per salesperson to be evenly distributed in desc order. Something semi-random such as...
December 1, 2009 at 10:16 am
Peter Schott (12/1/2009)
Keep forgetting about the Row_Number function, even though I've used it. SQL 2000 and lower habits are pretty deeply entrenched. 😛Thanks for the reminder about that one.
I...
December 1, 2009 at 9:28 am
Here is another solution that doesn't require an identity column:
select name, LeadQuality, CASE WHEN (LeadOrder+3)%4=0 THEN 1
...
December 1, 2009 at 8:12 am
Unless you have very few rows in the table relative to the amount being added, I would say that dropping the indexes and recreating them would NOT be the best...
December 1, 2009 at 8:01 am
If you know IN ADVANCE what date range you wish to deal with, then a fixed query such as below is perfect. If you don't, then I recommend you...
December 1, 2009 at 7:56 am
Isn't this the best solution for the stated problem?
select Total, Type1Count, Type1Count*100.0/Total as Perc1, Type2Count, Type2Count*100.0/Total as Perc2
FROM (
select count(*) as Total,
sum(case...
December 1, 2009 at 7:47 am
I highly recommend you download the latest copy of SQL Server 2005 Books Online, install it, and get very familiar with it. It is a wonderful resource!!!
Here is the...
December 1, 2009 at 7:41 am
Viewing 15 posts - 4,321 through 4,335 (of 5,841 total)