<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DB Connect SQL Procedures in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-SQL-Procedures/m-p/703508#M116352</link>
    <description>&lt;P&gt;I've been using dbxquery connection=my_connection procedure=my_procedure to build reports and a few that my DBAs have built require time inputs, one I'm working on expects parameter '@StartDate',&amp;nbsp; Is there a way to pass that through to the stored proc?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 17:25:49 GMT</pubDate>
    <dc:creator>Kyles</dc:creator>
    <dc:date>2024-11-04T17:25:49Z</dc:date>
    <item>
      <title>DB Connect SQL Procedures</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-SQL-Procedures/m-p/703508#M116352</link>
      <description>&lt;P&gt;I've been using dbxquery connection=my_connection procedure=my_procedure to build reports and a few that my DBAs have built require time inputs, one I'm working on expects parameter '@StartDate',&amp;nbsp; Is there a way to pass that through to the stored proc?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 17:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-SQL-Procedures/m-p/703508#M116352</guid>
      <dc:creator>Kyles</dc:creator>
      <dc:date>2024-11-04T17:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect SQL Procedures</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-SQL-Procedures/m-p/743131#M118079</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268923"&gt;@Kyles&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What version of DBConnect are you using?&lt;BR /&gt;The 3.* versions allow you to pass the field named params with values to be passed to the variables in the query/procedure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dbxquery connection=&amp;lt;string&amp;gt; [fetchsize=&amp;lt;int&amp;gt;] [maxrows=&amp;lt;int&amp;gt;] [timeout=&amp;lt;int&amp;gt;] [shortnames=&amp;lt;bool&amp;gt;] query=&amp;lt;string&amp;gt; OR procedure=&amp;lt;string&amp;gt; [params=&amp;lt;string1,string2&amp;gt;]&lt;/LI-CODE&gt;&lt;P&gt;Sample query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dbxquery procedure="{call sakila.test_procedure(?, ?)}" connection="mysql" params="150,BOB"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Please try that out if you are running DBConnect 3.x and let me know how it goes&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 02:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-SQL-Procedures/m-p/743131#M118079</guid>
      <dc:creator>victor_menezes</dc:creator>
      <dc:date>2025-04-01T02:45:12Z</dc:date>
    </item>
  </channel>
</rss>

