Data.DB.IProviderSupport.PSIsSQLSupported

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: IProviderSupport

Delphi

function PSIsSQLSupported: Boolean;

C++

virtual bool __fastcall PSIsSQLSupported _DEPRECATED_ATTRIBUTE0 () = 0 ;

Description

Attention: PSIsSQLSupported is deprecated. Please use IProviderSupportNG.

Indicates whether the dataset can execute SQL statements.

PSIsSQLSupported indicates whether the provider can call PSExecuteStatement to execute an SQL statement. When PSIsSQLSupported returns false, calling PSExecuteStatement generates an exception. The provider can still work with a dataset that returns false from PSIsSQLSupported, but it must set the ResolveToDataSet property to true, or provide data on a read-only basis.

See Also