Quote Originally Posted by BackWoodsCoder View Post
so what's the output like? You say you want to print the dates just once, I'm assuming you're repeating sunday's somewhere in your result set?
Here's my output.

Output:

Sundays -->04-JAN-09
Sundays -->11-JAN-09
Sundays -->18-JAN-09
Sundays -->25-JAN-09
Sundays -->01-FEB-09 <-- Should not print 01-FEB-2009