Introduction:
Here I will explain how to write query to get or find first and last day of current month or previous month in SQL server.
Here I will explain how to write query to get or find first and last day of current month or previous month in SQL server.
Description:
In
previous articles I explained DateAdd function Example, Pass table as parameter to procedure, difference between function and stored
procedures,
joins in SQL Server, substring function in SQL server
and many articles relating to SQL
server.
Now I will explain query to get first and last day of current month in SQL
server.