All Apps and Add-ons

How to access OUTPUT variables from Stored Procedure called by dbxquery?

plaxosi
Explorer

I am calling a Stored Procedure in MS SQL using dbxquery:

 

 


The Stored Procedure is configured with:

 

EXECUTE @RC = [dbo].[getSomeData]
   @time
  ,@interval
  ,@retVal OUTPUT
  ,@retErrorMessage OUTPUT
GO

 

Am I able to access the values returned in the OUTPUT variables, i.e. retVal and retErrorMessage, from the stored procedure?

All help and insight is appreciated.

Thanks

Labels (1)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...