Forum Replies Created

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

  • RE: No.of Business Days between two dates

    This the modified version of the function that Steven Cameron has posted and works for any date range you enter...

    --dbo.GetBusinessDays

    CREATE function dbo.GetBusinessDays

    (

    @StartDate...

  • RE: error getting data from excel

    When linked to Excel SQL server will look for a table like section.

    Thus by trying to read Sheet1 is not identified as a table section.

    To acomplish such read you must...

  • RE: No.of Business Days between two dates

    simple... just use the datediff function...

    update Test set workingdays = datediff(dd,startdate,enddate)

    select * from Test

    check help on date functions... JO

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