Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Knowledge base
  • Contact Us
  • Home
  • Connectors
  • MS SQL

MS SQL Instance & Item setup

Written by Benjamin Pinnerup

Updated at January 16th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Installation & Technical information
    Introduction SIA Connect Standalone SIA Connect ANY-Ware Cellular & WiFi connectivity
  • Configuration in the Web UI
    Getting started with the UI Connectors Instances Items Mapping Data System Network Tools & Add-ons DigiCert IoT Trust Manager
  • Connectors
    Siemens S7 Azure IoT Ethernet/IP Mitsubishi MELSEC OPC-UA Server SQL MQTT Omron Host Link REST API Omron FINS Keyence Beckhoff TwinCAT BACnet Virtual OPC-UA Client MS SQL File M-Bus Modbus
  • Scripting & Variables
    Data formatting
  • Developers
    API documentation Shadow API
  • Tutorials & Guides
    InfluxDB AWS IoT Core - Amazon Web Services Microsoft Power BI KaaIoT Siemens S7 AVEVA Insight SIA Connect Demo Rack Grafana Azure
  • General
+ More

Articles in this section:

  • MS SQL Instance & Item setup
  • Setting up the database for external communication


In this guide we will go through the process of setting up an instance to communicate with an MS SQL Database using the MS SQL Connector on your SIA Connect device

Delete

If you need help installing a Connector, we have a guide for that here

The MS SQL Connector is compatible with MS SQL and Azure SQL databases


Instance setup

When creating a new instance for your MS SQL database, you will need to fill out some fields to create the connection between SIA Connect and the database:

Parameter Description
Connector The connector you wish to use to establish the connection
Choose "MS SQL" here
Name The name of the instance. This can be anything you want
Address The IP-address of the MS SQL Server you are going to connect to
The port is also specified here.
Examples:
Without port: 10.20.30.10
With port: 10.20.30.10,1433
Please note that the port can be anything, the above port is simply an example
Username The username for an account that has access to the database
Password The password corresponding to the username
Database The name of the database you want to read from
Connection String Connection String for the database
Note: This parameter is not always needed


Item setup

In your newly created MS SQL Instance you can create items to query the database. SIA Connect connects to the database as any other client, and will be able to execute any queries that the selected user is authorized to perform

Parameter
Description
Query default
This is the query that the item will perform in either the given time interval, or when it is triggered by a mapping
Example:
select * from (table name)
Delete

For more information on using queries in SIA Connect, please refer to this guide


Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Setting up the database for external communication

0
0
Expand