API:Data.SqlExpr.TSQLQuery.PrepareStatement

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PrepareStatement; override;

C++

virtual void __fastcall PrepareStatement();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLQuery

Description

Performs a prepare on the SQL statement.

Data.SqlExpr.TSQLQuery.PrepareStatement inherits from Data.SqlExpr.TCustomSQLDataSet.PrepareStatement. All content below this line refers to Data.SqlExpr.TCustomSQLDataSet.PrepareStatement.

Performs a prepare on the SQL statement.

The prepare operation is a type of pre-compile that checks the performance of the SQL statement. Some databases support a prepare statement that creates an execution plan that speeds processing.