Viewing 3 posts - 1 through 3 (of 3 total)
I prefer this simple and elequent way to generate numbers.
I doesn't generate unnecessary numbers and is easy to understand
[font="Courier New"]CREATE FUNCTION dbo.GetSequence
(
@Start BIGINT,
...
February 6, 2008 at 10:37 am
#775714
Anthony, nice try but no cigar. I thought of the same thing myself but it doesn't work. It still orders by the alias.
Regarding your second statement this is also...
July 7, 2005 at 7:41 am
#571769
Wenck, dates are only a problem when not used correctly. Most programmers are inclined to use the easier route of programming ODBC and...
July 6, 2005 at 7:42 am
#571231