Arithmetic

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,635 reads

Blogs

SQLCover 0.5 - Fixes, smaller features and an exciting surprise

By

It has been a little while but I have updated SQLCover to include a...

Switch activity in Azure Data Factory: Container with many IFs

By

(2019-October-16) Developing conditional logic of your Azure Data Factory control flow has been simplified with...

Setting Permissions for a SQL Server backup folder–#SQLNewBlogger

By

Another post for me that is simple and hopefully serves as an example for...

Read the latest Blogs

Forums

Using Graph Theory To Group Records

By Glen Cooper

Comments posted to this topic are about the item Using Graph Theory To Group...

More Network Restrictions

By Steve Jones - SSC Editor

Comments posted to this topic are about the item More Network Restrictions

Checking on IFI

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Checking on IFI

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers