When we use SQL Server’s GENERATE_SERIES()
function to create a series, we provide the start and stop points as numbers. And if we provide the optional step argument, then it’s provided as a number too.
The numbers we provide can be decimal fractions if required. This means that we can create a series made up of decimal fractions. But we still need to ensure that all our arguments are of the same type.
Continue reading