Data.DB.IProviderSupport.PSExecute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PSExecute;

C++

virtual void __fastcall PSExecute _DEPRECATED_ATTRIBUTE0 () = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB IProviderSupport

Description

Warning: PSExecute is deprecated. Please use IProviderSupportNG.

Executes the SQL command associated with the dataset.

The provider component calls PSExecute to implement its Execute method. If the dataset represents a query or stored procedure that does not return a cursor, this method executes the query or stored procedure. If the provider Options includes poAllowCommandText and the dataset supports the PSSetCommandText method, the statement specified by PSSetCommandText may be executed instead.

If there is not statement to execute, PSExecute raises an EDatabaseError exception.

See Also