Using a CTE as a Tally Table
Sometimes you need to output blank lines
- in effect displaying Records for Missing Data. This article explains how to use a CTE to do this
2018-08-09
4,726 reads
Sometimes you need to output blank lines
- in effect displaying Records for Missing Data. This article explains how to use a CTE to do this
2018-08-09
4,726 reads
Comparing year on year sales is a fundamental requirement in much commercial analysis - here you learn how to do this in SQL
2018-08-02
3,292 reads
2018-07-31
1,133 reads
DO you know how to display median values from a Dataset? In this short article you will use windowing functions to do this
2018-07-26
1,766 reads
2018-07-23
1,122 reads
T-SQL window functions, introduced in 2005 with enhancements in 2012, are great additions to the T-SQL language. In this article, Kathi Kellenberger explains what you need to know to get good performance when using these functions.
2018-07-16
4,197 reads
This short article shows a simple example of how to generate completely random sample output from a Dataset
2018-07-12
6,879 reads
This is the first article in a short series of SQL Server query challenges to test and expand your SQL Server querying skills
2018-07-05
20,197 reads
2018-07-03
1,133 reads
2018-06-04
1,119 reads
In last months one of the scenarios where you can use AI has been...
By ChrisJenkins
Do you spend so long manipulating your data into something vaguely useful that you...
By Steve Jones
It was neat to stumble on this in the book, a piece by me,...
Comments posted to this topic are about the item Microsoft Security Changes and SQL...
Comments posted to this topic are about the item Expanding into Print
Comments posted to this topic are about the item Downtime Caused by the Postgres...
In SQL Server 2025, what is returned by this code:
SELECT EDIT_DISTANCE('Steve', 'Stan')
Assume preview features are enabled. See possible answers