Microsoft SQL Data Stream Parameters
The Microsoft SQL provides configurable data streams to query SQL data.
Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.
SQL Metrics Query
Returns the result of a SQL query shaped for graphing, with a label, a timestamp and a numeric value on each row.
SQL State Query
Returns the result of a SQL query shaped for status tiles, where each row carries a state that SquaredUp turns into a status.
SQL Stored Procedure
Runs a stored procedure on the target database and returns its results. Pass input and output parameters, and choose whether the result set or the output parameters come back.
Example
The following parameter configuration will execute the stored procedure below:
- Stored procedure name:
AddTwoNumbers - Input parameters:
@Number1 int:3@Number2 int:4
- Output parameters:
@sum int - Result type:
Output Parameters
CREATE PROCEDURE [dbo].[AddTwoNumbers]
(@Number1 int, @Number2 int, @Sum int OUTPUT)
AS
SELECT @Sum = @Number1 + @Number2;
SQL Table Query
Returns the result of a SQL query as plain rows and columns, for display in a grid.