Home Forums SQL Server 2005 SQL Server 2005 General Discussion Speeding up updates that use STDEV (standard deviation) RE: Speeding up updates that use STDEV (standard deviation)
KarenD
SSC Veteran
Points: 250
More actions
March 3, 2009 at 3:55 pm
#952769
I'm not sure why you have two separate subqueries to calculate the two standard deviations. It looks to me like it could be one.
I would also change the whole thing to a CTE. It should be much faster that way.