Board index » delphi » Errors calling Oracle SELECT procs
serge...@my-deja.com
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Errors calling Oracle SELECT procs
I can't get Delphi4 to call an Oracle SELECT stored proc (one that uses
ref cursor into result set). I used to have the proc within a package, but referring to that stored proc in Delphi by SERGEY.P_TEST.SP_TEST produced an Oracle error that said something like "... identifier 'P_TEST.SP_TEST' must be declared ..." Then I wrote a stand alone stored proc that just used the type create package p_test as create procedure sp_test (cur_var IN OUT p_test.refc_type) as t_test table has one column I NUMBER and three rows with values 1, 2, I tested it in SQL*Plus (I used VAR X REFCURSOR, and passed :X into In Delphi, however, I get an Oracle error "wrong number or types of BTW, I am using TStoredProc for this. It sounds like other people have been able to implement Oracle SELECT Thank you in advance! Sergey Sent via Deja.com http://www.deja.com/ |