RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBStoredProc.ExecProc Method

Executes the stored procedure on the server.

Pascal
procedure ExecProc;
C++
__fastcall ExecProc();

Call ExecProc to execute a stored procedure on the server. Before calling ExecProc:

  1. 1 Provide any input parameters in the Params property. At design time, a developer can provide parameters using the Parameters editor. At runtime an application must access Params directly.
  2. 2 Call Prepare to bind the parameters.

If a stored procedure returns output parameters, they are stored in the Params property when ExecProc returns control to the application. An application can access the output parameters by indexing into the Params list, or by using the ParamByName method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!