SQL Database
Generic SQL connector for querying relational databases. Tables are discovered dynamically from the database schema. Supports PostgreSQL and Microsoft SQL Server.
Authentication: Connection string (dialect, host, port, username, password, database)
Connection type: SQL
Supported dialects: PostgreSQL (postgresql+psycopg2), SQL Server (mssql+pyodbc)
Supported resources
Resources are discovered dynamically - each table in the target schema becomes a fetchable resource.
| Resource | FETCH | LOOKUP |
|---|---|---|
| Per-table (dynamic) | ✓ | ✓ |
FETCH runs SELECT * with a configurable row limit (default 100). LOOKUP retrieves rows matching a specific column/value pair.
This connector is read-only - write and execute operations are not supported.
Connection setup
Required values:
- Dialect -
postgresqlormssql - Host
- Port
- Username
- Password
- Database
- Schema (optional) - defaults to
publicfor PostgreSQL
Security
Access type: Read-only
Demiton queries your database using the credentials provided. No data is written.
Permissions required: A database user with SELECT access on the specific tables or views your workflows query. Do not use an admin or owner account - create a dedicated read-only user for Demiton.
Best practice: Connect Demiton to a read replica if one is available, to avoid any impact on production database performance.
Next steps
- Connecting a System - step-by-step wizard for setting up the connector
- SFTP - file-based data source alternative
- MCP Server - query SQL data through Claude once connected
- Connect your operation - talk to us about scoping a Connected deployment