Tagged: TSQL Leap Year Checking

Leap Year Checking Function in SQL Server

Hello everybody, In this article, I will try to give information about the leap year control function in SQL Server. In SQL Server, in some cases, you may want to check for leap years. You can easily do this using the function below. CREATE FUNCTION dbo.IsLeapYear ( @year INT )...

Don`t copy text!