Gambas Documentation - /comp/gb.db/_connection/exec

# _Connection.Exec (gb.db)

Function Exec ( Request As String, Arguments As , ... ) As Result

Executes an arbitrary SQL request, and returns a read-only Result containing the result of the request.

- Request is any SQL request.

- Arguments are quoted as needed by the SQL syntax, and substituted inside the Request string

The last feature allows you to write requests that are independant of the underlying database type.

### See also

- Delete

- Find

- Edit

- Subst