Greetings,
I'm working with a proprietary database system that I connect to over ODBC.
This proprietary database stores dates as integers (don't blame me, I didn't design it). So the date 1/11/2010 would be stored as 1100111. When you add 1100111 and 19000000 you get year month date - the method to the madness.
What I need to do is create a query that gives me all the records for this month, and 5 months after. The bigger picture is I'm creating a TRANSFORM query to do a crosstab report. Working with dates is easy, but these are not dates, they're integers.
Any help is appreciated.
"If it's stupid but works, it isn't stupid."
-Murphy's Military Laws
I'm working with a proprietary database system that I connect to over ODBC.
This proprietary database stores dates as integers (don't blame me, I didn't design it). So the date 1/11/2010 would be stored as 1100111. When you add 1100111 and 19000000 you get year month date - the method to the madness.
What I need to do is create a query that gives me all the records for this month, and 5 months after. The bigger picture is I'm creating a TRANSFORM query to do a crosstab report. Working with dates is easy, but these are not dates, they're integers.
Any help is appreciated.
"If it's stupid but works, it isn't stupid."
-Murphy's Military Laws