Executes a query or stored procedure.

Syntax

This method is called implicitly by the Query or StoredProc object.

Property of

Query, StoredProc

Description

The execute( ) method executes a query or stored procedure. It is called implicitly after prepare( ) when you set the object’s active property to true. In typical usage, you do not call this method directly.

Advanced applications may override the definition of this method to perform supplementary actions when executing the query or stored procedure. Custom data drivers must define this method to perform the appropriate actions to retrieve a rowset or call a stored procedure.