Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-24338: statement handle not executed

bootstrapJun 16 2010 — edited Jun 17 2010
Hi,
My front end programming platform is .NET. Oracle DataBase is 10g.
I have written this package:
CREATE OR REPLACE package body USER_NAME.PACKAGE_TEST1 as

procedure getname(id1 number,tb_cursor out md_cursor)
as
begin
open tb_cursor for select name from testtable1 where id1=id;
close tb_cursor;

end getname;
end package_test1;
In the front end i am using DataReader to fetch data.
But while Executing reader an error occurs that is "ORA-24338: statement handle not executed".
But when i remove "close tb_cursor" programm runs successfully.
What is the reason for that error ?
This post has been answered by Tubby on Jun 17 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2010
Added on Jun 16 2010
9 comments
22,815 views