Parameter issue with Oracle RefCursor
问题 I'm using ODP.NET (migrating from Microsoft's provider), and I have got stuck on a stored procedure that returns a refcursor. I have the following PL/SQL procedure (I have changed it a little bit to make it more general): PROCEDURE MyProc(parameter_no1 IN NUMBER, parameter_no2 IN NUMBER, RETCURSOR OUT ret_type) AS BEGIN OPEN RETCURSOR FOR SELECT ad.logo logo FROM tab_a a, tab_h h WHERE a.id IS NOT NULL AND a.h_id = h.id AND a.no1 = parameter_no1 AND a.no2= parameter_no2; END HanteraLogotype;