Skip to main content
Version: 3.0.0

MSSQL Connection

Examples

connection:
mssql:
host: your-hostname
user: your-username
password: "${vaults.my_vault_name.password}"
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.

PropertyDefaultTypeRequiredDescription
descriptionstring
NoA brief description of what the model does.
metadataResourceMetadata
NoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
ssh_tunnelstring
No
mssqlMSSQLConnectionOptionsYesThe MSSQL Server connection options.

Property Details

Connection

A connection to a data source/sink.

PropertyDefaultTypeRequiredDescription
connectionOne of:
  S3Connection
  GcsConnection
  AbfsConnection
  LocalFileConnection
  SnowflakeConnection
  BigQueryConnection
  MSSQLConnection
  MySQLConnection
  OracleConnection
  PostgresConnection
  HttpConnection
  DuckDBConnection
  SynapseConnection
  SFTPConnection
  FabricConnection
  DatabricksConnection
YesThe connection to the data system.

MSSQLConnectionOptions

PropertyDefaultTypeRequiredDescription
hoststringYesThe MSSQL server host to connect to.
userstring
NoThe MSSQL Server user to connect as.
passwordstring
NoThe MSSQL Server password to use for the connection.
schemadbostringNoThe MSSQL schema to use.
portinteger
NoThe MS SQL Server port to connect to.
driverstring ("ODBC Driver 18 for SQL Server", "FreeTDS")YesThe driver to use for the MSSQL connection.
trust_server_certificateboolean
No
databasestring
NoThe MSSQL Server database to connect to.

ResourceMetadata

Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.

PropertyDefaultTypeRequiredDescription
sourceResourceLocation
NoThe origin or source information for the resource.
source_event_uuidstring
NoUUID of the event that is associated with creation of this resource.

ResourceLocation

The origin or source information for the resource.

PropertyDefaultTypeRequiredDescription
pathstringYesPath within repository files where the resource is defined.
first_line_numberinteger
NoFirst line number within path file where the resource is defined.