Viewing 9 posts - 1 through 9 (of 9 total)
I got it, I missed out OUTPUT when declare @workdays as INT. Thanks
December 27, 2007 at 7:50 am
ahhh.... error....."has too many arguments specified"
Declare @StartDate datetime, @EndDate datetime, @WorkDays INT
Select @StartDate = '12/17/2007', @EndDate = '12/25/2007'
Exec dbo.PIN_WorkDays @StartDate, @EndDate, @WorkDays OUTPUT
using exactly what previously corrected (except for 'worddays'...spelling??)
SET...
December 26, 2007 at 1:17 pm
thanks Jeff,
I am still learning and this is just to see how it works. Sure if I use the code anywhere, your name will be there.
I am not so familiar...
December 26, 2007 at 12:47 pm
The only thing I changed was to make it as SP instead of a function. Thanks
---Declare @startdate datetime, @enddate datetime
---Select @startdate = '12/17/2007', @enddate = '12/25/2007'
Exec dbo.TEST_WorkDays '12/17/2007', '12/25/2007'
SET...
December 26, 2007 at 10:54 am
Hi,
Jeff I try to understand your code and learn how to work with SP and all. Here is what I tried to run the example that you wrote here (finding...
December 26, 2007 at 10:15 am
sorry folks,
I am a newbie here and I wonder if some one is kind enough and explain to me how do I get the number of days out of this...
December 26, 2007 at 9:36 am
never mind , I found the prob. There was a trigger that references an old sp which no longer existed.
March 30, 2007 at 9:51 am
Thanks Terry, I will give it a try.
February 26, 2007 at 3:31 pm
Viewing 9 posts - 1 through 9 (of 9 total)