SQL

SQLServerCentral Article

A User-Defined Function returns more rows

  • Article

The Problem Recently, while working with one of my clients, I came across a script in which I had to introduce a scalar User-Defined Function in the SELECT statement. The SELECT used to return around 750K records. However, after introducing the UDF, the row count significantly increased to 826K. There were no other changes made […]

4 (5)

You rated this post out of 5. Change rating

2019-10-14

4,797 reads

SQLServerCentral Article

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 (3)

You rated this post out of 5. Change rating

2021-05-07 (first published: )

5,341 reads

Blogs

DBA and Developer: Allies or Adversaries?

By

In the expansive landscape of software development, the relationship between Database Administrators (DBAs) and...

New Pluralsight Course - Certified Kubernetes Administrator - Working With Your Cluster

By

We’re working through the major refresh of my Certified Kubernetes Administrator series at Pluralsight! The...

Friday Basics: the CIA Triad

By

In information security (INFOSEC), there several foundational concepts and principles. One of the ones...

Read the latest Blogs

Forums

Query about GAC (Global Assembly Cache)

By Jobs90312

Hi everyone, So I have a SSIS package that performs some importing/exporting from MySQL...

How to check for data loss after rollback

By Lord Slaagh

Hello SSC, I am not a DBA,. I have some DBA knowledge, but my...

How to create a baseline using counters to analyze server performance?

By IT researcher

I am currently working on creating a baseline for our server, using various counters...

Visit the forum

Question of the Day

Reporting Services Editions

In which editions of SQL Server 2022 can you run Reporting Services?

See possible answers