MSSQL Connection
Examples
- simple_synapse_connection.yaml
- mssql_connection_freetds.yaml
- mssql_connection.yaml
connection:
mssql:
host: your-hostname
user: your-username
password: "${secret.my_vault_name.password}"
driver: ODBC Driver 18 for SQL Server
connection:
mssql:
host: your-hostname
user: your-username
password: "${secret.my_vault_name.password}"
driver: FreeTDS
database: your-database
schema: your-schema
port: 1433
connection:
mssql:
host: your-mssql-host
user: your-username
password: ${secret.my_vault_name.your-password}
database: your-database-name
schema: your-schema-name
port: 1433
driver: ODBC Driver 18 for SQL Server
MSSQLConnection
info
MSSQLConnection
is defined beneath the following ancestor nodes in the YAML structure:
Below are the properties for the MSSQLConnection
. Each property links to the specific details section further down in this page.
Property | Default | Type | Required | Description |
---|---|---|---|---|
name | string | No | The name of the model | |
description | string | No | A brief description of what the model does. | |
metadata | ResourceMetadata | No | Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources. | |
mssql | MSSQLConnectionOptions | Yes | The MSSQL Server connection options. |
Property Details
Connection
A connection to a data source/sink.
Property | Default | Type | Required | Description |
---|---|---|---|---|
connection | One of: S3Connection GcsConnection AbfsConnection LocalFileConnection SnowflakeConnection BigQueryConnection MSSQLConnection MySQLConnection OracleConnection PostgresConnection HttpConnection DuckDBConnection CustomPythonConnection SynapseConnection | Yes | The connection to the data system. |
MSSQLConnectionOptions
Property | Default | Type | Required | Description |
---|---|---|---|---|
host | string | Yes | The MSSQL server host to connect to. | |
user | string | Yes | The MSSQL Server user to connect as. | |
password | string | Yes | The MSSQL Server password to use for the connection. | |
database | string | No | The MSSQL Server database to connect to. | |
schema | dbo | string | No | The MSSQL schema to use. |
port | integer | No | The MS SQL Server port to connect to. | |
driver | string ("ODBC Driver 18 for SQL Server", "FreeTDS") | Yes | The driver to use for the MSSQL connection. |
ResourceMetadata
Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
Property | Default | Type | Required | Description |
---|---|---|---|---|
source | ResourceLocation | No | The origin or source information for the resource. | |
source_event_uuid | string | No | UUID of the event that is associated with creation of this resource. |
ResourceLocation
The origin or source information for the resource.
Property | Default | Type | Required | Description |
---|---|---|---|---|
path | string | Yes | Path within repository files where the resource is defined. | |
first_line_number | integer | No | First line number within path file where the resource is defined. |