Bde.DBTables.TStoredProc.ExecProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecProc;

C++

void __fastcall ExecProc();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TStoredProc

Description

Executes the stored procedure on the server.

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

  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. Call Prepare to bind the parameters.
  3. 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.

Tip: If an application is only interested in the result set returned by a stored procedure, call its Open method or set its Active property to true.

See Also