Viewing 2 posts - 1 through 2 (of 2 total)
I've used a function similar to MiddleDatestoTable in my apps, however I followed a different approach.
Create Function dbo.udf_NumbersTable (
@riStartingNumber Int, @riCount Int
)
Returns @tbl Table (SequenceNumber Int)
As
Begin
-- Logic used from
December 14, 2009 at 4:29 am
#1091844
Interesting idea indeed! However there are obviously some limitations (maxrecursion being one of those), plus the performance 'may' not be up to the mark.
The best method to split a integer...
December 14, 2009 at 12:47 am
#1091778