execute_sql_file
Execute SQL file scripts against the database. Supports PL/pgSQL blocks and multi-statement SQL from raw file string.
Instructions
Execute SQL file content (PL/pgSQL blocks, multi-statement scripts). Pass raw SQL from file as string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Raw SQL file content (entire file as string) | |
| filename | No | Optional filename for logging/reference (e.g., "115.1.nav.es.sql") |