Microsoft SQL Server
Microsoft SQL Server (MSSQL) is supported with full read/write capabilities and rich schema management.
Connection Settings
| Field | Required | Description |
|---|---|---|
| Host | ✅ | Server hostname or IP address |
| Port | ✅ | Connection port (typically 1433) |
| Database | ✅ | Database name |
Unlike other adapters, MSSQL does not expose an encoding setting — the connection always uses UTF-8.
Credentials
Each access level requires:
| Field | Required |
|---|---|
| Username | ✅ |
| Password | ✅ |
Adapter Features
| Feature | Supported |
|---|---|
| Schemas | ✅ |
| Upsert (MERGE) | ✅ |
| Truncate | ✅ |
| Drop Columns | ✅ |
| Flex Schema | ❌ |
| Foreign Keys | ✅ (add, remove) |
| Primary Keys | ✅ (add, remove) |
| Column rename | ✅ |
| Column type change | ✅ |
| Table rename | ✅ |
Specific Behaviors
- Port is required: Unlike PostgreSQL and MySQL which default to their standard ports, MSSQL requires the port to be explicitly set
- No ON DELETE/ON UPDATE: Foreign key constraints can be added and removed, but cascade actions are not supported
- NOT NULL columns: When adding a NOT NULL column to an existing table, a default value is required
Data Types
MSSQL supports a broader set of native types than the other adapters:
bigint, binary, bit, char, date, datetime, datetime2, datetimeoffset, decimal, float, image, int, integer, money, nchar, ntext, numeric, nvarchar, real, smalldatetime, smallint, smallmoney, text, time, tinyint, varbinary, varchar
Key differences from other adapters:
decimalandnumericsupport precision and scalebigintandintsupport configurable limit (byte size)- No
jsonorjsonbtype support