aggregate function

Optimize Your SQL by Reformulating the Spec

  • Article

As SQL developers, we tend to think of performance tuning in terms of crafting the best table indices, avoiding scalar and table valued functions, and analyzing query plans (among other things). But sometimes going back to the spec and applying some properties of elementary math can be the best way to begin to improve performance of SQL queries which implement mathematical formulas. This article is a case study of how I used this technique to optimize my SQL implementation of the Inverse Simpson Index.

5 (2)

2019-09-12

2,648 reads

Blogs

SSIS Scaleout: Cannot open certificate store on the machine

By

When attempting to connect a worker node to the current Master node of a...

Adding a License to GitHub

By

I’ve rarely thought about licensing my code, but it’s something to be aware of...

Weekly reading #29

By

The Data Breach Game: The 9 Worst IT Security Practices Joey D’Antoni shows bad...

Read the latest Blogs

Forums

buy now>>http://wintersupplement.com/alpha-xtrm/

By anitaydnor

Alpha XTRM works adequately. It expels and consume undesirable fat from your body and...

Automatic decimal round off

By VSSGeorge

Automatic decimal round off is happening for a column having datatype Decimal (6,2). I...

unable to restore db

By vsamantha35

Hi All, Unable to restore/refresh a database. I was able to kill the sessions...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers