HELP!!! I've got a rather difficult, if not impossible question for you.
I am using a large Oracle-based database which has a report generator to build up queries (rather than enter the SQL manually). The problem I have is that I want to select records where the enrolment start date is greater than:
either 31st July (this year - 4)
or 31st July (this year - 3),
depending on the current month - if < 8, do the first one, otherwise do the second one.
For example, if I take this month (10), I wish to select all of the records where the enrolment start date is greater than 31 July 1997, but last April (say), it would have returned all records since 31 July 1996.
Please let me know if this is possible, and if so, HOW???
BTW, I am not really an IT professional! I am an Admin Assistant who has been assigned the task of creating some reports from the database. I DON'T know that much about programming!!!
Any help would be greatly appreciated. [sig][/sig]
I am using a large Oracle-based database which has a report generator to build up queries (rather than enter the SQL manually). The problem I have is that I want to select records where the enrolment start date is greater than:
either 31st July (this year - 4)
or 31st July (this year - 3),
depending on the current month - if < 8, do the first one, otherwise do the second one.
For example, if I take this month (10), I wish to select all of the records where the enrolment start date is greater than 31 July 1997, but last April (say), it would have returned all records since 31 July 1996.
Please let me know if this is possible, and if so, HOW???
BTW, I am not really an IT professional! I am an Admin Assistant who has been assigned the task of creating some reports from the database. I DON'T know that much about programming!!!
Any help would be greatly appreciated. [sig][/sig]