I am a C# + SQL server database developer.
Now I am using Oracle as a database. I have one Oracle stored procedure retuning ref cursor.
CREATE OR REPLACE PROCEDURE Get_Trans_Data ( p_return_cur OUT SYS_REFCURSOR)
IS
BEGIN
OPEN p_return_cur FOR
select * from test_tbl1 ;
END Get_Trans_Data;
Using Oledb only how can I access this stored proc and save result in dataset?
I am not get the option for ref cursor datatype in Oledb.
Best Answer
You can try something like this. No need to add parameter for OUT's. Read more here