execute_ddl
Execute and auto-commit a single DDL statement (CREATE TABLE, ALTER TABLE, DROP TABLE, CREATE INDEX, etc.) on a Firebird database. Provide database key and SQL (no trailing semicolon). Returns confirmation or throws error.
Instructions
Execute a single DDL statement (CREATE TABLE, ALTER TABLE, DROP TABLE, CREATE INDEX, etc.) and auto-commit. database: key from list_databases. sql: one DDL statement — do not include a trailing semicolon. Returns 'DDL executed and committed.' on success, or throws on error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| sql | Yes |