SQL Server
Access configuration details to connect Soda to a Microsoft SQL Server data source.
Requirements
Connection configuration reference
pip install soda-sqlserverData source YAML
soda data-source create -f ds_config.ymltype: sqlserver
name: my_sqlserver
connection:
host: ${env.SQLSERVER_HOST}
port: 1433
database: ${env.SQLSERVER_DB}
user: ${env.SQLSERVER_USER} # SEE NOTE
password: ${env.SQLSERVER_PW} # SEE NOTE
authentication: sql # activedirectoryserviceprincipal | activedirectoryinteractive | activedirectorypassword
# optional
client_id: ${env.SQLSERVER_SERVICE_CLIENT_ID} # SEE NOTE
client_secret: ${env.SQLSERVER_SERVICE_CLIENT_SECRET} # SEE NOTE
driver: ODBC Driver 18 for SQL Server
trusted_connection: false
encrypt: false
trust_server_certificate: false
connection_parameters:
application_intent: 'ReadOnly'Connection test
Regex patterns in SQL Server
How Soda translates regex patterns
Last updated
Was this helpful?
