Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql get frist of month

SELECT DATEADD(month, DATEDIFF(month, 0, getdate()), 0) AS StartOfMonth
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #frist #month
ADD COMMENT
Topic
Name
2+5 =