> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible db:execute

This command executes SQL against a [Database](/core-concepts/managed-databases/managing-databases/overview).

# Synopsis

```
Usage:
  aptible db:execute HANDLE SQL_FILE [--on-error-stop]

Options:
  --env, [--environment=ENVIRONMENT]
  [--on-error-stop], [--no-on-error-stop]
```
