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)

Financial Month

By Kartik M Kumar,

Use this function wherever you want to have a index based on the financial Monther Order rather then Calander Month Order


This function will return the respective Financial Month Code, when the Calander Month Code is given as input for this function


e.g. For April, The Calander Month Code is '04' where as the Financial Month Code is '01' as all financial years started with April.

Similarly for January the Calander Month Code is '01' whereas the Financial Year Code is '10'

Total article views: 1506 | Views in the last 30 days: 2
Related Articles

Financial Month

Comments posted to this topic are about the item [B]Financial Month[/B] Please provide details :-) A...


Days of month function

Functions return tables with days of the specified month.


Function to get number of days in month

Function to get number of days in month


Financial Year Query

Condition for Financial Year.


Month Name

Function to return the Month Name for month number input