Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

GET LAST MONTH LAST DATE SQL

SELECT EOMONTH(DATEADD(MONTH,-1,GETDATE()));
Source by www.sqlservercentral.com #
 
PREVIOUS NEXT
Tagged: #GET #LAST #MONTH #LAST #DATE #SQL
ADD COMMENT
Topic
Name
7+1 =