<?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 Re: Run Stored procedure in SQL with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/637576#M83534</link>
    <description>&lt;P&gt;How do you use this function for a SQL Server?&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 21:51:53 GMT</pubDate>
    <dc:creator>mende001</dc:creator>
    <dc:date>2023-05-31T21:51:53Z</dc:date>
    <item>
      <title>Run Stored procedure in SQL with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/286178#M55255</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to run a store procedure and get an error "Unknown error".&lt;/P&gt;
&lt;P&gt;The command I use is&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Execute SQL( MyConnection, "Exec spMyProcedure" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The procedure doesn't return table, it just updates some table in SQL with data from another server.&lt;/P&gt;
&lt;P&gt;While executing the procedure in SQL - no problems.&lt;/P&gt;
&lt;P&gt;Any ideas? What is the best way to run stored procedures that are supposed to run several minutes and dont return any table?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Tom.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jfk-bubble gtx-bubble"&gt;
&lt;DIV class="jfk-bubble-content-id"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowdown"&gt;
&lt;DIV class="jfk-bubble-arrowimplbefore"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jfk-bubble-arrowimplafter"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:35:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/286178#M55255</guid>
      <dc:creator>tom_abramov</dc:creator>
      <dc:date>2023-06-09T23:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run Stored procedure in SQL with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/286210#M55257</link>
      <description>&lt;P&gt;If you're using Oracle this is how I get PL/SQL procedures to work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Execute SQL( MyConnection, "begin spMyProcedure; end;" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Aug 2020 17:34:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/286210#M55257</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-08-17T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run Stored procedure in SQL with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/637576#M83534</link>
      <description>&lt;P&gt;How do you use this function for a SQL Server?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 21:51:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-Stored-procedure-in-SQL-with-JSL/m-p/637576#M83534</guid>
      <dc:creator>mende001</dc:creator>
      <dc:date>2023-05-31T21:51:53Z</dc:date>
    </item>
  </channel>
</rss>

