How do one call a stored procedure with no parameters

rakgol_a

Member²
Hi,

I CBuilder; what is the syntax to use with
OraclePackage to call a stored procedure
that doesn't take any parameters?
Sample code will do thanx...
 
You can use parNone as a parameter. Unfortunately C++Builder is not as flexible as Delphi with open array parameters, so you have to do something like this:
Code:
{
  Variant Params[] = {parNone};
  MyPackage->CallProcedure("MyProcedure", EXISTINGARRAY(Params));
}

------------------
Marco Kalter
Allround Automations
 
Back
Top