Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server select first day of previous year

SELECT DATEFROMPARTS ( DATEPART(yyyy, GETDATE()) - 1, 1, 1 )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #server #select #day #previous #year
ADD COMMENT
Topic
Name
4+7 =