Hi,
I have a table called months_data. this contains table_name and startdate as fields and 13 rows representing 12 months + 1 current month.
Now I want to retrieve tablenames after ordering the startdate in Desc order. so that i can current month and following months tables resp.
can anyone help ,how to do this without cursor? I have already done it with cursor?
thanks
Sarav
I have a table called months_data. this contains table_name and startdate as fields and 13 rows representing 12 months + 1 current month.
Now I want to retrieve tablenames after ordering the startdate in Desc order. so that i can current month and following months tables resp.
can anyone help ,how to do this without cursor? I have already done it with cursor?
thanks
Sarav