Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Returning results that fall within the current financial year

$
0
0

Hi Everyone,

I am using MSSQL Server 2008R2 and I am interested in returning rows from a 'financial' table that fall within the current year (each row contains a 'Entered Date'). I am located in Australia so my financial year consists of all entries between the date 01/07/xx to the 30/06/yy.

Can anybody suggest some code, perhaps using the datediff() function, or other functions as required to achieve what I need?

Kind Regards,

David


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>