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)

T-SQL Function to Determine Holidays in SQL Server

By Adeoye Omoboya,

1. Connect to your database instance and Execute Function [dbo].[fn_EasterSundayByYear]

2. Then Execute the Batch to Calculate Good Friday of the Week

Total article views: 2248 | Views in the last 30 days: 2