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

Azure SQL Database Compatibility with SQL Server

By

A long time ago, in early days of the Azure SQL Database in 2015,...

Custom deployment parameters in Azure Data Factory - Forget Me Not

By

(2020-Sep-26) Last week one of my Azure Data Factory (ADF) deployment pipelines failed with an...

VMworld 2020 – Top 10 Database Sessions (Part 2)

By

Whether you are a SQL Server Database Administrator, Infrastructure Architect, or any other member...

Read the latest Blogs

Forums

Tempdb version store related question

By vsamantha35

Hi All, Recently, we observed the tempdb has grown out of proportion and filled...

about the option (fast n) and acutal execution plan

By 892717952

 what kind of situation  can I use "option (fast 1)"  when I execute a...

Problem during the setup of SQL Server 2019

By Developper12345678

During the installation I come to the step of configuring the database engine. It...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers