select EOMONTH(getdate()), -- sql server 2012 onwards DATEADD(d, -1, DATEADD(m, DATEDIFF(m, 0, getdate()) + 1, 0)) -- any version of sql
-- Thanks & Regards, RNA Team
Login to post response