IBDAC

TIBCScript Class

A component for executing several SQL statements one by one.

For a list of all members of this type, see TIBCScript members.

Unit

IBCScript

Syntax

TIBCScript = class(TDAScript);

Remarks

Often it is necessary to execute several SQL statements one by one. Known way is using a lot of components such as TIBCSQL. Usually it is not a good solution. With only one TIBCScript component you can execute several SQL statements as one. This sequence of statements is named script. To separate single statements use semicolon (;), slash (/) ,and for statements that can contain semicolon (for example CREATE TRIGGER or CREATE PROCEDURE) - only slash . Note that slash must be the first character in line.

Errors that occur while execution can be processed in the TDAScript.OnError event handler. By default, on error TIBCScript shows exception and continues execution.

Inheritance Hierarchy

TDAScript
   TIBCScript

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback