Icon ExecProc Method

procedure ExecProc

Usage

Call the ExecProc method to execute the procedure/function currently assigned to the StoredProcName property. If the procedure returns a result set, then the ExecProc method will automatically call the Open method to open the procedure's result set.

The ExecProc method prepares the procedure/function in the StoredProcName property for execution if it has not already been prepared. To speed performance in situations where a procedure/function will be executed multiple times with parameters, an application should ordinarily call the Prepare method before calling the ExecProc method for the first time.
Image