sql is a method of the Loader class.
With this method you send a Loader command or an SQL statement to the Loader server.
sql (cmd_string)
cmd_string |
Loader command or SQL statement |
Result:
● Successful execution: 0
● SQL Error: message number of the error message
● Error: exception of the LoaderError class
Querying Whether a Table Exists