Generic ODBC access via FireDAC. Connects to any database with an ODBC driver: Snowflake, IBM DB2, Teradata, SAP HANA, MS Access, Excel, etc. Auth via dSN (pre-configured DSN name) or oDBCDriver + host/database. Operations: query, execute, execute_tx, list_tables, describe, list_databases.
Operation to perform. One of: query, execute, execute_tx, list_tables, describe, list_databases.
dSNoptional
string
ODBC Data Source Name configured in ODBC Data Source Administrator (e.g. 'Northwind', 'SnowflakeDSN'). Use this or oDBCDriver, not both.
oDBCDriveroptional
string
ODBC driver name in curly braces (e.g. '{ODBC Driver 17 for SQL Server}', '{Snowflake}', '{IBM DB2 ODBC DRIVER}'). Used when no pre-configured DSN exists.
hostoptional
string
Server host or IP. Required when using oDBCDriver.
portoptional
integer
Server port. Optional, depends on driver.
databaseoptional
string
Database or schema name. Required when using oDBCDriver.
usernameoptional
string
Username for authentication.
passwordoptional
string
Password for authentication.
sQLoptional
string
SQL statement. Required for query and execute operations.
sQLListoptional
string
JSON array string of SQL statements for execute_tx. All executed in a single transaction.
tableoptional
string
Table name. Required for describe operation.
schemaoptional
string
Schema/owner filter for list_tables and describe.
maxRowsoptional
integer
Maximum rows to return for query. Default: 100. Default: 100.
timeoutoptional
integer
Query timeout in seconds. Default: 30. Default: 30.