Add a built-in table of numbers is able to return positive numbers from 1 to 2^31-1. Presumably it would be a table
function. Either it would be parameterless, and you would use the WHERE clause to specify which numbers you need. But it could also have two parameters specify the start and end of your desired range.
A built-in table of numbers would remove the robustness problems with a regular table, and the optimizer would be
able to use the information in a smarter way.