Hi,
I am writing (or trying to) some sql that will return a number of records depending on the record concerned.
e.g
Table A has a record that was last applied date into the ledger (Date_Last_Applied) was 1-Jan-2003, and has to be applied monthly (also read daily, weekly, fortnightly, half yearly, yearly, one-off)
I want to return 7 records (as today is 30-Jul-2003) for that one record - 1-Jan-2003, 1-Feb-2003, 1-Mar-2003 etc
Any suggestions
PS,
There may be a number of records, each with different periods
I am writing (or trying to) some sql that will return a number of records depending on the record concerned.
e.g
Table A has a record that was last applied date into the ledger (Date_Last_Applied) was 1-Jan-2003, and has to be applied monthly (also read daily, weekly, fortnightly, half yearly, yearly, one-off)
I want to return 7 records (as today is 30-Jul-2003) for that one record - 1-Jan-2003, 1-Feb-2003, 1-Mar-2003 etc
Any suggestions
PS,
There may be a number of records, each with different periods