sql server select first day of previous year

Solutions on MaxInterview for sql server select first day of previous year by the best coders in the world

showing results for - "sql server select first day of previous year"
Giulia
13 Oct 2017
1SELECT DATEFROMPARTS ( DATEPART(yyyy, GETDATE()) - 1, 1, 1 )
Nichola
14 Jan 2021
1SELECT DATEADD(yy, DATEDIFF(yy, 0, GETDATE()), 0)