Product Features
...
Integration Connectors
Databases

DB - Microsoft SQL Server

2min
review the microsoft sql server integration guide docid\ l kgb5s37xjw2cfl7kho0 overview microsoft sql server integration enables an edge system to connect with an mssql database supported communication outbound (edge to sql server) yes inbound (sql server to edge) no configurations variable detail required name enter a name for the connector yes/no hostname ip address or hostname of the mssql server (must be reachable from the edge system) y port mssql server port y username user name (optional) n password user password (optional) n database database name y table table name y show mapping data from a predefined table could be mapped into a custom one example {"from" "to"} where "from" is a column from predefined table, and "to" is a column from destination table see work with tables in sql connectors (create table and show mapping) docid\ arn eb7jkou2tcnsnyqnw to learn more n create table if selected and table doesn't exist, the table is created with the necessary format see work with tables in sql connectors (create table and show mapping) docid\ arn eb7jkou2tcnsnyqnw to learn more n commit timeout transaction commit timeout (ms) n max transaction size maximum number of messages before a transaction is committed regardless of timeout n bulk insert count to enable this option, enter the number of messages to group together and send as one bulk insert statement enabling this option can improve how quickly data is processed when dealing with high volumes of tags n throttling limit set a limit on the number of outbound messages per second if sending data to a server that has restrictions on the rate of incoming messages, this ensures that no messages are lost n queue mode select the sequence of data transfer fifo or lifo selecting fifo (first in first out) will send the earliest message first selecting lifo (last in first out) will send the latest message first n persistent storage if enabled, messages in the outbound queue are stored on disk if there are interruptions in connection or power loss, messages will be retained and eventually sent when the connection is restored n compatibility validation this information is just for reference more products and versions may be supported product version microsoft sql server v15 (2019) microsoft sql server v14 (2017) note when the create table checkbox is not selected, the table format (columns) that you will create must still adhere to the following format if not exists(select from sysobjects where name = '"table name"' and xtype = 'u') create table "table name" ( id bigint identity(1,1) not null, record uuid char(36) not null, arrived at datetime not null, device id varchar(64) null, register id varchar(64) null, tag name varchar(64) null, datatype varchar(32) null, value text null, success bit null, primary key (id) )