Viewing 2 posts - 1 through 2 (of 2 total)
oops
September 1, 2010 at 9:14 am
#1215077
SELECT _________ FROM ______ AS Data
WHERE DATEPART(month, Data.The_Date_Field)
= DATEPART(month, DATEADD(month, -1, GETDATE()));
(Say, when I screw up, how do I delete my post instead of...
September 1, 2010 at 9:05 am
#1215064