Viewing 4 posts - 1 through 4 (of 4 total)
A better solution with no limits.
Thanks to:
http://2smart4school.com/tsql-stored-procedure-to-get-factorial-of-a-given-number/
CREATE PROCEDURE Factorial (@num INT) AS
BEGIN
DECLARE @fact int, @query varchar(255)
SET @fact = 1
IF(@num = 0)
BEGIN
SET @fact = 1
END
ELSE
BEGIN
WHILE(@num >0)
BEGIN
SET @fact...
April 12, 2013 at 10:01 am
...and yes, you can use Express edition for the witness.
December 11, 2006 at 10:41 am
In getting database mirroring to work, I found the documentation to be lacking an important detail. If you do not have DNS or a Domain controller, then you must have...
December 11, 2006 at 10:39 am
Oh ya. Position is the trick. I have a standard Default instance, 32-bit installation. There was some inconsistency. I could detach the msdb but not the model. Also, for some...
September 8, 2006 at 9:10 am
Viewing 4 posts - 1 through 4 (of 4 total)