sql is a method of the Loader class (sdb.loader module) for sending Loader commands and SQL statements to the Loader server.
Syntax
sql (cmd_string)
Attribute |
Description |
---|---|
cmd_string |
Loader command or SQL statement |
Successful execution: 0
SQL Error: message number of the error message
Loader Error: exception of the LoaderError class (sdb.loader module)