SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Calculate upcoming business day from date (Updated)

By kgayda,

Calculates the next business day based upon the work week
length, number of days from the start date and a list of holiday dates kept in a table called HolidayDate.

Created this script for determining the next banking day from 2 days after a request for wiring funds. Can be used for things like calculating shipping dates and processing dates, etc.

Updated varchar date width

Total article views: 1455 | Views in the last 30 days: 4
sqlinsider scripts