## Method sql

### Use

sql is a method of the Loader class.

With this method you send a Loader command or an SQL statement to the Loader server.

### Features

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

### Example

Querying Whether a Table Exists