Sign in Join
FPDoc Onlineexperiment

TCustomSQLStatement.Prepare procedure

Member of TCustomSQLStatementpublicIn unit SQLDB

Prepare the statement for execution.

Declaration

pascal
procedure Prepare

Description

Prepare prepares the SQL statement for execution. It is called automatically if Execute is called and the statement was not yet prepared. Depending on the database engine, it will also allocate the necessary resources on the database server.

Errors

An exception is raised if there is no SQL statement set or the Database or Transaction properties are empty.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.