<?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: Close Database connection in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733507#M91486</link>
    <description>&lt;P&gt;Here is a previous Community Discussion that provides an answer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-Disconnect-from-a-database-via-script/m-p/597749#M80126" target="_self"&gt;How to Disconnect from a database via script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 18:43:07 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-03-12T18:43:07Z</dc:date>
    <item>
      <title>Close Database connection</title>
      <link>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733497#M91485</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to close the database connection before running the script?&lt;/P&gt;&lt;P&gt;I have an SQL script that crashes JMP if there's an open connection, so I'm trying to figure out a way to close all the connections before running the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__0-1710268187474.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62143iF17154F5503F1E6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__0-1710268187474.png" alt="Jackie__0-1710268187474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 18:31:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733497#M91485</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2024-03-12T18:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Close Database connection</title>
      <link>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733507#M91486</link>
      <description>&lt;P&gt;Here is a previous Community Discussion that provides an answer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-Disconnect-from-a-database-via-script/m-p/597749#M80126" target="_self"&gt;How to Disconnect from a database via script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 18:43:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733507#M91486</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-12T18:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Close Database connection</title>
      <link>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733508#M91487</link>
      <description>&lt;P&gt;If I remember correctly New SQL Query and Open Database will close the connection after query is done.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/sql-functions.shtml?os=win&amp;amp;source=application#ww5089351" target="_blank"&gt;https://www.jmp.com/support/help/en/17.2/#page/jmp/sql-functions.shtml?os=win&amp;amp;source=application#ww5089351&lt;/A&gt; &lt;/P&gt;
&lt;P class="N1bullet"&gt;&lt;EM&gt;There is not a command to close an ODBC connection established with &lt;SPAN class="code"&gt;New SQL Query()&lt;/SPAN&gt; because &lt;SPAN class="code"&gt;New SQL Query()&lt;/SPAN&gt; always closes the connection after performing the query.&lt;/EM&gt;&lt;/P&gt;
&lt;P class="N1bullet"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="N1bullet"&gt;It might be also mentioned somewhere here but I'm not sure about that &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/build-sql-queries-in-query-builder.shtml#" target="_blank"&gt;https://www.jmp.com/support/help/en/17.2/#page/jmp/build-sql-queries-in-query-builder.shtml#&lt;/A&gt; &lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 18:45:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Close-Database-connection/m-p/733508#M91487</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-12T18:45:14Z</dc:date>
    </item>
  </channel>
</rss>

