Finding first/last day of month by a date

This script finds the first day of previous, current and next month as well as last day of previous, current and next month.The calculation is based on the ISO date format which makes it independant of the date format used on the SQL Server.The calculation is performed from a date - it can be altered […]

2004-12-02 (first published: )

221 reads

Blogs

New Pluralsight Course – Configuring and Managing Kubernetes Networking, Services, and Ingress

By

My new course “Configuring and Managing Kubernetes Networking, Services, and Ingress” is now available on Pluralsight here!...

Step By Step Installation of SQL Server 2019 with all features

By

[MSSQLFUN & Decode ITeS becomes a family of 1500 individuals across the globe. Please...

Step By Step Installation of SQL Server 2019 with all features

By

[MSSQLFUN & Decote ITeS becomes a family of 1500 individuals across the globe. Please...

Read the latest Blogs

Forums

Career Advice: Data Warehouse Architect/Modeler

By @@caffeine_level

Maybe some of you would share your thoughts about my situation. I´m working in...

Avamar Backup--Is it good?

By VastSQL

Dear Experts, is it good to use Avamar backup for SQL Server, currently we...

Read-only

By curious_sqldba

  I read MSFT documentation few times but couldn't find a clear answer. I...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers