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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...