|
Re: Calling stored procedure from VC++ [message #57550 is a reply to message #57547] |
Sun, 22 June 2003 09:10 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
sai sreenivas jeedigunta
Messages: 370 Registered: November 2001
|
Senior Member |
|
|
Hello ,
you hav to use the REF cursor concept in stored procedure to return multiple rows that should be captured by VC++.
create or replace package mypack
type rc is ref cursor;
end mypack;
create or replace procedure mypro(a out mypack.rc%type)
as
open a for select statement..
end myproc..
please dont follow the syntax...I dont remember it correctly..
check the OO4O (oracle objects for OLE) documentation & Metalink for furthur reference.
Regards
sai
|
|
|