Relational connector for Microsoft SQL Server (including SQL Server Express, Azure SQL Database, and Azure SQL Managed Instance).
| Field | Required | Sensitive | Default |
|---|---|---|---|
| Server (host) | Yes | Yes | — |
| Port | No | No | 1433 |
| Database | Yes | No | — |
| Username | Yes | Yes | — |
| Password | Yes | Yes | — |
| Instance name | No | No | (empty) |
| Encrypt connection (SSL) | No | No | false |
The instance name field lets you target a named SQL Server instance without having to encode it
in the host. SSL connections automatically use trustServerCertificate so self-signed
certs don't break the handshake — useful in lab and on-prem setups.
Open SQL Server Management Studio (SSMS) or sqlcmd connected as sa
or another sysadmin login.
-- Server-level login (in master)
USE master;
CREATE LOGIN dagflux WITH PASSWORD = 'Choose-A-Strong-Password!';
-- Map it to a database user inside your target database
USE mydb;
CREATE USER dagflux FOR LOGIN dagflux;
USE mydb;
-- Read + write on every existing object
ALTER ROLE db_datareader ADD MEMBER dagflux;
ALTER ROLE db_datawriter ADD MEMBER dagflux;
-- Allow creating new tables (needed for new-table transformations and joins)
ALTER ROLE db_ddladmin ADD MEMBER dagflux;
If you'll only use the connection for sources:
USE mydb;
ALTER ROLE db_datareader ADD MEMBER dagflux;
<servername>.database.windows.net.
SQLEXPRESS, set this to
the instance name. Leave empty for default instances.
dbo if you don't specify one.EXEC sp_rename rather than ALTER TABLE ... RENAME COLUMN.