T-SQL

Introduction to Scalar UDF inlining in MS SQL Server 2019

Historically the use of User Defined Functions aka UDF has represented a great option to encapsulate logic into Database reusable…

3 years ago

Implementing CTE for filling gaps inside a sequence

This is the second article of a series dedicated to implementing Recursive Common Table Expression in different kind of scenarios,…

5 years ago

Using recursive CTE for generating a specific number of rows

I remember the first time that I discovered the amazing feature called Common Table Expression (CTE), it was during my…

5 years ago

Dealing with errors for SQL_Variant datatype in MS SQL Server

I have to confess; I have had traumatic experiences with variant data type in my beginning as a software developer,…

6 years ago

Generating a Workload for SQL Server

There are some special scenarios where we require to generate a customized workload in our SQL Server instance, these could…

6 years ago