TSQLScript.Execute¶
Execute the script.
Declaration¶
Source position: sqldb.pp line 758
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¶
| Name | Description |
|---|---|
| Script | The script to execute. |
| TSQLScript.OnException | Exception handling event. |