![sql server - SQL query to get data till current date(considering month and date) for the particular year - Stack Overflow sql server - SQL query to get data till current date(considering month and date) for the particular year - Stack Overflow](https://i.stack.imgur.com/Sy2wm.png)
sql server - SQL query to get data till current date(considering month and date) for the particular year - Stack Overflow
![SQL Server 2022 – TSQL – How to get previous, current and last week dates using DATETRUNC() function | SQL Server Portal SQL Server 2022 – TSQL – How to get previous, current and last week dates using DATETRUNC() function | SQL Server Portal](https://raresql.files.wordpress.com/2022/12/last-date-of-previous-week-old-approach-1.png)
SQL Server 2022 – TSQL – How to get previous, current and last week dates using DATETRUNC() function | SQL Server Portal
![SQL Server 2022 – TSQL – How to get previous, current and last year dates using DATETRUNC() function | SQL Server Portal SQL Server 2022 – TSQL – How to get previous, current and last year dates using DATETRUNC() function | SQL Server Portal](https://raresql.files.wordpress.com/2022/11/22-11-14.png)
SQL Server 2022 – TSQL – How to get previous, current and last year dates using DATETRUNC() function | SQL Server Portal
![How to get Time, Hour, Minute, Second and Millisecond Part from DateTime in Sql Server | SqlHints.com How to get Time, Hour, Minute, Second and Millisecond Part from DateTime in Sql Server | SqlHints.com](https://sqlhints.com/wp-content/uploads/2014/02/Second-Part-of-DateTime-in-Sql-Server.jpg)