multiple recs through looping
Posted: Thu Jan 13, 2011 7:52 pm
Hi All,
Can you please let me know how to generate multiple recs from a single rec
ex:
i/p:
id,effdate
1,05/01/2011
2,11/01/2011
o/p:
id,effdate
1,05/01/2011
1,06/01/2011
1,07/01/2011
1,08/01/2011
1,09/01/2011
1,10/01/2011
1,11/01/2011
1,12/01/2011
1,13/01/2011
2,11/01/2011
2,12/01/2011
2,13/01/2011
ie I should get recs till currentdate()
thanks sai123
Can you please let me know how to generate multiple recs from a single rec
ex:
i/p:
id,effdate
1,05/01/2011
2,11/01/2011
o/p:
id,effdate
1,05/01/2011
1,06/01/2011
1,07/01/2011
1,08/01/2011
1,09/01/2011
1,10/01/2011
1,11/01/2011
1,12/01/2011
1,13/01/2011
2,11/01/2011
2,12/01/2011
2,13/01/2011
ie I should get recs till currentdate()
thanks sai123