Viewing 2 posts - 1 through 2 (of 2 total)
1952 McGraw-Hill edition of I Led 3 Lives by Herb Philbrick
September 12, 2008 at 5:42 am
#870871
Here's the SQL factorial:
With Fact (Num, Factorial)
As
(
Select 0 as Num, convert(bigint, 1) as Factorial
Union All
Select Num + 1, convert(bigint, Num + 1) * Factorial from Fact
Where Num + 1 <=...
April 18, 2008 at 6:37 am
#804295