acdagirl
asked on
how do I script a function in SQL2005
How do I script this function to store and call in sql2005?
function getWorkingDays(d1, d2)
[some logic with d1, d2...]
getWorkingDays = absdays - cint(2 * (absdays \ 7)) 'returns "getWorkingDays"
end function
function getWorkingDays(d1, d2)
[some logic with d1, d2...]
getWorkingDays = absdays - cint(2 * (absdays \ 7)) 'returns "getWorkingDays"
end function
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER