Scripts, Articles, Relevant for DBAs, Consultants, BI, Data Scientists and Developers
--// This function is compatible >= 2008 version
select EoMonth(getdate(),0)
EoMonth