insert [message #307656] |
Wed, 19 March 2008 06:32  |
oracle_coorgi
Messages: 188 Registered: September 2006 Location: INDIA-karnataka
|
Senior Member |
|
|
hi
i have three table t1 ,m1 ,output_table
i want to insert the records for each all pk_id for everymonth the output should be like sample output_table
how do i insert by procedure through cursor
t1 m1 output_table
pk_id mon fk_id mon_name
101 jan 101 jan
102 feb 101 feb
103 mar 101 mar
104 apr 101 apr
105 may 101 may
106 jun 101 jun
107 jul 101 jul
108 102 jan
109 102 feb
110 102 mar
111 102 apr
102 may
102 jun
102 jul
|
|
|
|
|
|