All Apps and Add-ons

splunk db connect if is possible run a query after run a stored procedure

asabatini85
Path Finder

Hi All,

I need to run a query after a stored procedure, because the stored procedure is a security check before to run a query.

Example

I need to run this:

"call storeprocedurename(?|?);

select * from table;"

But on the DB connect I can run or the stored procedure or the query, it is not possbile run both

| dbxquery procedure="{call storeprocedurename(?|?) connection="TERADATA" query="select * from table"

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...