Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: A pro-C programming question
I can't remember sample10.pc in detail, but:
sprintf(sql_string,"begin %s
(:inpar1,:inpar2,outpar1,outpar2);end;",
variablewithprocname); EXEC SQL PREPARE xxx FROM :sql_string; EXEC SQL EXECUTE xxx USING :in1,:in2,:ret1,:ret2;
If you want to use a variable number of parameters please use method 4
as described in
Oracle Documentation for Pro*C.
-- SigmarReceived on Mon Oct 02 2000 - 17:32:11 CDT
![]() |
![]() |