Skip to content

Microsoft SQL Server Data Source Connections

Here is a programmatic example of a Microsoft SQL Server connection.

CREATE DATACONNECTION sqlserver_connection CXNPROPERTIES
(
  'connection_type'='JDBC',
  'jdbc_driver'='sqlserver',
  'host'='<host>',
  'port'='<port, typically 1433>',
  'user_key'='awssm://my-username>',
  'password_key'='awssm://<my-password>',
  'jdbc.db.name'='<database to connect to>',
  'jdbc.schema.name'='<schema to connect to>'
);