Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Using a Case Statement to see if a Date is in the previous month or not

$
0
0
For a crazy calculation I need to do (it's part of a conditional across many fields)  I need to see if the date was in the previous month or not.
GOAL: To see if the c.PricingDate was last month or not using Option. wanting to set a flag instead

Viewing all articles
Browse latest Browse all 3145

Trending Articles