Skip to content

SQL Server

Programmatic Example

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>'
);