> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# showSqlProc

<div className="kinetica-doxygen">
  <div id="af1e1e90f76a43c60220ad2ffa008f4af" />

  <h2 className="memtitle"><span className="permalink"><a href="#af1e1e90f76a43c60220ad2ffa008f4af">◆ </a></span>showSqlProc() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> gpudb::GPUdb::showSqlProc </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcRequest">ShowSqlProcRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information about SQL procedures, including the full definition of each requested procedure. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a9dffef865f8df9bac7ed947e80d58c66" />

  <h2 className="memtitle"><span className="permalink"><a href="#a9dffef865f8df9bac7ed947e80d58c66">◆ </a></span>showSqlProc() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> & gpudb::GPUdb::showSqlProc </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcRequest">ShowSqlProcRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information about SQL procedures, including the full definition of each requested procedure. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a13c04a3cae289ef769af2244f913e27c" />

  <h2 className="memtitle"><span className="permalink"><a href="#a13c04a3cae289ef769af2244f913e27c">◆ </a></span>showSqlProc() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> gpudb::GPUdb::showSqlProc </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">procedureName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information about SQL procedures, including the full definition of each requested procedure. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">procedureName</td>
              <td>Name of the procedure for which to retrieve the information. If blank, then information about all procedures is returned. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6840c1d5c408c26e9808e761d5d2c85">show\_sql\_proc\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a3e2a2936461449f8d5b83cd62be74f72">true</a>, no error will be returned if the requested procedure does not exist. If <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">false</a>, an error will be returned if the requested procedure does not exist. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3e2a2936461449f8d5b83cd62be74f72">show\_sql\_proc\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">show\_sql\_proc\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">show\_sql\_proc\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="aff1be35f1f720165261c4128beaa9cae" />

  <h2 className="memtitle"><span className="permalink"><a href="#aff1be35f1f720165261c4128beaa9cae">◆ </a></span>showSqlProc() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> & gpudb::GPUdb::showSqlProc </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">procedureName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">ShowSqlProcResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information about SQL procedures, including the full definition of each requested procedure. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">procedureName</td>
              <td>Name of the procedure for which to retrieve the information. If blank, then information about all procedures is returned. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac6840c1d5c408c26e9808e761d5d2c85">show\_sql\_proc\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a3e2a2936461449f8d5b83cd62be74f72">true</a>, no error will be returned if the requested procedure does not exist. If <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">false</a>, an error will be returned if the requested procedure does not exist. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3e2a2936461449f8d5b83cd62be74f72">show\_sql\_proc\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">show\_sql\_proc\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a12d6012a5d73862589b8cb18ec7a6366">show\_sql\_proc\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSqlProcResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
