Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSQLScript.Execute

Execute the script.

Declaration

Source position: sqldb.pp line 745

public procedure TSQLScript.Execute; override;

Description

Execute will execute the statements specified in Script one by one, till the last statement is processed or an exception is raised.

If an error occurs during execution, normally an exception is raised. If the TSQLScript.OnException event handler is set, it may stop the event handler.

Errors

Handle errors using TSQLScript.OnException.

See also

Script

  

The script to execute.

TSQLScript.OnException

  

Exception handling event.


Documentation generated on: Jul 24 2023