JawwadLone
Programmer
Hello everyone!
Can any one help me in creating a procedure that select some values from table abc. I have tried it using package and package body but it didn't worked for me. It give me compilation error in package body on select query "Not Enough Values" and "SQL Statement Ignored". This is the code which i have tried
Regards.
Can any one help me in creating a procedure that select some values from table abc. I have tried it using package and package body but it didn't worked for me. It give me compilation error in package body on select query "Not Enough Values" and "SQL Statement Ignored". This is the code which i have tried
Code:
PACKAGE "MAIN_DATA" is
type cur_main is ref cursor ;
procedure all_Main_Data( param_cur in out cur_main) ;
end;
PACKAGE BODY "MAIN_DATA" as
procedure all_Main_Data( param_cur in out cur_main )
is
Begin
select * INTO param_cur from Countries;
End all_Main_Data;
end Main_Data;
Regards.