Hey everyone!
So in my code I have this
The results are coming back invalid
Date Manual Automated
2010-09-01 258 277
But if you put
These results are valid
Date Manual Automated
2010-09-01 5213 3260
For some reason there is a discrepancy in the codes that isn't returning accuratly.
Maybe its because it's the first day of the month... any ideas?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008
So in my code I have this
Code:
AND TESTCYCL.TC_EXEC_DATE < DATEADD(MONTH, -1, GetDate())
The results are coming back invalid
Date Manual Automated
2010-09-01 258 277
But if you put
Code:
AND TESTCYCL.TC_EXEC_DATE < '2010-10-01'
These results are valid
Date Manual Automated
2010-09-01 5213 3260
For some reason there is a discrepancy in the codes that isn't returning accuratly.
Maybe its because it's the first day of the month... any ideas?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008