Bold BI allows you to use the stored procedure defined in the SQL Server database using the Microsoft SQL connection.
NOTE: You can connect to a database hosted in the Microsoft SQL Server whose version should be 2012 or above.
Bold BI supports the following connection modes for the stored procedure connection.
In this OpenQuery mode, Bold BI executes the stored procedure queries on the specified linked server for every execution in the stored procedure data source.
Enable the Data Access for the stored procedure in SQL Server by executing the following query.
EXEC sp_serveroption 'SQLServerName', 'DATA ACCESS', TRUE
NOTE: If you did not enable the Data Access in SQL Server, you cannot access the stored procedure with the OpenQuery option in Bold BI.
This OpenQuery only supports the Microsoft SQL Server and Azure SQL Database (Managed Instance only). All other servers like Azure SQL Database, Azure SQL Data Warehouse (Azure Synapse Analytics), and Parallel Data Warehouse do not support this OpenQuery.
In Internal Cache mode, Bold BI executes the stored procedure completely and moves the result into a temporary table. After that, Bold BI uses the created temporary table for every action execution in the stored procedure’s data source.
To connect to the SQL Server database, refer to this link Microsoft SQL.
If it succeeds, you can get into the data design view with the available stored procedure displayed on the left pane of the tree view. The available parameters can also be displayed while expanding the procedures.

You can drag the desired stored procedure into the canvas area to create a table view with the supplied parameters.

Here, you can choose either OpenQuery or Internal Cache for your stored procedure connection.
The Dashboard Designer allows you to edit the supplied parameters by using the edit parameters available in the created table.

Bold BI supports two execution modes for stored procedures—OpenQuery Mode and Internal Cache Mode. Understanding these modes helps you optimize dashboard performance and manage MSSQL server load effectively.
In OpenQuery Mode, Bold BI® executes the stored procedure directly on the linked MSSQL server for every widget query.
Each widget generates its own query based on the widget configuration, and Bold BI executes these queries on the MSSQL server.
As a result, every dashboard load or user interaction triggers a fresh execution of the stored procedure on the server.
If the dashboard contains 20 widgets:
Use OpenQuery Mode when:
In Internal Cache Mode, Bold BI® executes the stored procedure once during dashboard load.
The result is then stored in a temporary table inside the Bold BI® data store (MSSQL, PostgreSQL, or MySQL).
All widget interactions—such as filtering, sorting, and grouping—operate on this temporary table instead of re-executing the stored procedure on the MSSQL server.
If your dashboard contains 20 widgets:
Use Internal Cache Mode when:
Pros
Cons
Pros
Cons
| Feature / Requirement | OpenQuery Mode | Internal Cache Mode |
|---|---|---|
| Live data on every interaction | Yes | No |
| Best for high user load | No | Yes |
| DB server utilization | High | Low |
| Interaction performance | High (few users) | High (many users) |
| Data refreshed | Every action | Initial load only |
| Source Connection Hit | Yes (Every widget rendering) | Yes (Initial dashboard loading only) |
Selecting the correct mode impacts both performance and data freshness:
Both modes serve different needs—select the one that best aligns with your dashboard usage and performance expectations.