Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: Calculating Work Days

    I got it, I missed out OUTPUT when declare @workdays as INT. Thanks

  • RE: Calculating Work Days

    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...

  • RE: Calculating Work Days

    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...

  • RE: Calculating Work Days

    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...

  • RE: Calculating Work Days

    How do I post CF code here??

  • RE: Calculating Work Days

    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...

  • RE: Calculating Work Days

    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...

  • RE: Msg 2812 ''''cannot find stored procedure''''

    never mind , I found the prob. There was a trigger that references an old sp which no longer existed.

  • RE: bestway to combine column values

    Thanks Terry, I will give it a try.

Viewing 9 posts - 1 through 9 (of 9 total)