2025-06-13
821 reads
2025-06-13
821 reads
SQL 2022 introduced the function generate_series which permits us to solve problems for which we previously had to use a table of numbers (also known as a "tally table"). generate_series is a great addition, because when using a table of numbers there was always a risk that you could run out of numbers. Or some joker could have deleted rows from the table. All these worries are gone with generate_series.
2025-03-05
This article shows how GENERATE_SERIES can be used with a few practical examples and a warning on parameters.
2023-10-09
8,712 reads
tl;dr The title says it all. Prologue One of the keys to my personal learning is that, very early in my database career, I taught myself how to make lot’s of rows of Random Constrained Data in a comparatively short time. With the help of a few good folks over time, the method has been […]
2023-09-18
3,878 reads
In this tip, we cover how to use the GENERATE_SERIES function to expand a range of dates into rows
2022-09-07
2022-08-15
357 reads
By Chris Yates
Change is not a disruption in technology; it is the rhythm. New frameworks appear,...
No Scooby-Doo story is complete without footprints leading to a hidden passage. In SQL...
By James Serra
A bunch of new features for Microsoft Fabric were announced at the Microsoft Fabric Community...
Ontario, CA is home to a variety of restaurants, but when people talk about...
Ontario, CA is home to a variety of restaurants, but when people talk about...
We’re running SQL Server 2019 with database compatibility level 150, and after recent tuning...
I want to change the recovery time for a database running on SQL Server 2022. What are my options for setting the value in my ALTER DATABASE statement. If I run this code, what can I use in place of the xxx to define what 12 means?
ALTER DATABASE Finance SET TARGET_RECOVERY_TIME = 12 xxx;See possible answers