Intro
Microsoft SQL Server is a repository for your business information, but you need to provide easy access to critical metrics. Domo connects directly to SQL Server and delivers the information you need in real-time visualizations that make analysis easier. Moreover, you can see SQL Server data alongside metrics from any other system, all in a single platform, and get instant notifications when your SQL Server metrics hit thresholds that you determine. Using the Domo Microsoft SQL Server connector, you can query data from your SQL Server using standard SQL queries. Once your data is in Domo, you can collaborate with your team where your data lives—so nothing gets lost in translation. Stop waiting days or weeks for reports. With real-time MSSQL data, you can have confidence in the metrics you share with stakeholders. Microsoft SQL Server is a relational database management system developed by Microsoft. As a database, it is a software product whose primary function is to store and retrieve data as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). You can connect to your Microsoft SQL Server in the Data Center. This article explains the fields and menus specific to the Microsoft SQL Server connector user interface. To add DataSets, set update schedules, and edit DataSet information, see Adding a DataSet Using a Data Connector.Prerequisites
To connect to a Microsoft SQL Server database and create a DataSet, you must have the following:- Username
- Password
- Host
- Port
- Database
- Certificate (optional)
- Additional JDBC Properties (optional)
Connect to Your Microsoft SQL Server Database
This section enumerates the options in the Credentials and Details panes in the Microsoft SQL Server Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your database. The following table describes what is needed for each field:Field | Description |
|---|---|
Username | MS SQL Username |
Password | Database password |
Host | Database hostname |
Port | Database port number |
Database | SSL CA Certificate download url |
Certificate | Enter the comma separated additional JDBC properties here. |
Details Pane
In this pane you create an SQL query to pull data from your database.| Menu | Description | ||||||
| Query Type | Select a query type.
| ||||||
| Fetch Size (optional) | Enter the fetch size, which is the number of rows requested for each page of data. 10,000 rows is the recommended maximum fetch size. If your dataset throws an out of memory error, try decreasing the fetch size. | ||||||
| Database Tables | Select the table. | ||||||
| Table Columns | Select the columns. | ||||||
| Query | When you select any table column, the corresponding query appears. in this field. Note: This field appears when you select the Query Type as Query Builder . | ||||||
| Query | Enter the SQL query to execute. The query gets executed on the MySQL server and fetches the data. Note: This field appears when you select the Query Type as Custom Query . | ||||||
| Query Parameter (checkbox) | Select this checkbox to add query parameters. | ||||||
| Query Parameter | Enter the query parameter value, which is the initial value for query parameter. The last run date is optional by default and the date is ‘02/01/1700’ if is not provided. For example: !{lastvalue:_id}!=1,!{lastrundate:start_date}!=02/01/1944 | ||||||