ORA-06550 - while compiling the PL/SQL block.
I am trying a to populate a table based on the below pl/sql block
Declare
temp source.source%type;
tregion varchar2(40);
tversion varchar2(40);
tsource varchar2(100);
Cursor c1 is
Select * from Source;
Begin
Open c1;
Loop
fetch c1 into temp;
select REGION, VERSION, SOURCE into tregion, tversion, tsource from QUOTE_LETTERS_MASTER where SOURCE = temp AND REGION = 'eSource';
insert into esource values(tregion, tversion, tsource);
Exception
when no_data_found then
insert into esource values('No eSource',' ',temp.source);
exit when c1%notfound;
End Loop;
close c1;
end;