Data.SqlExpr.TCustomSQLDataSet.PrepareStatement
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Data.SqlExpr.pas Data.SqlExpr.hpp
| |
| Unit: Data.SqlExpr | |
| Parent: TCustomSQLDataSet | |
Delphi
procedure PrepareStatement; virtual;
C++
virtual void __fastcall PrepareStatement();
Description
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.