[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Prepare the statement for execution
Source position: sqldb.pp line 362
public procedure TCustomSQLStatement.Prepare; |
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.
An exception is raised if there is no SQL statement set or the Database or Transaction properties are empty.
|
The SQL statement to execute |
|
|
Database instance to execute statement on. |
|
|
The transaction in which the SQL statement should be executed. |
|
Execute |