sqlscriptor_init.htm
Navigation: ABC Library Reference > SQLscriptor > SQLscriptor Methods >Init | |
Initializes the SQLExecutor class instance
Init PROCEDURE(ErrorClass errorHandler, FILE sqlTable, <;STRING delimiter>)
!!! <;param name=“errorHandler”>
!!! Error Handler used to handle errors
!!! <;param name=“sqlTable”>
!!! The file that is used to execute the SQL statements
!!! The file does not need to be open, however the OWNER attribute must have been
!!! set up so the file can connect to a database
!!! <;param name=“delimiter”>
!!! The string or character that marks the end of an SQL statement.
!!! Passing an empty string indicates that there is one SQL statement per line
Example of end of statement markers are 'GO' for MSSQL, or ; for SQLite
Usage:
executor.Init(GlobalErrors, sqlTable, ';')
sqlscriptor_init.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1