RE: Question of the Day for 04 Nov 2004
Here is the original and another method.It works from 1743 to 9998Steve Declare @Year_Begin as int, @Year_End as int, @IndependeceDay as char(10), @DayofWeek as char(10)If exists (select * From dbo.sysobjects Where id = object_id(N'Independence')) Drop Table IndependenceCreate Table Independence ( Four_of_July varchar(10), Day_of_Week varchar(10)) Set @Year_Begin = 1753 Set @Year_End = 9998While (@Year_Begin […]
2004-11-05