[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'SQLDB' (#fcl)

TCustomSQLStatement.Unprepare

Unprepare a previously prepared statement

Declaration

Source position: sqldb.pp line 410

public procedure TCustomSQLStatement.Unprepare;

Description

Unprepare unprepares a prepared SQL statement. It is called automatically when the SQL statement is changed. Depending on the database engine, it will also de-allocate any allocated resources on the database server. if the statement is not in a prepared state, nothing happens.

Errors

If an error occurs at the database level (the unprepare operation failed to execute properly) then an exception is raised.

See also

TSQLStatement.SQL

  

The SQL statement to execute

TSQLStatement.Database

  

Database instance to execute statement on.

TSQLStatement.Transaction

  

The transaction in which the SQL statement should be executed.

TCustomSQLStatement.Prepare

  

Prepare the statement for execution


Documentation generated on: Jun 23 2021