<?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: Add a configuration setting when connecting a database (postgresql) with JMP in the same CustomSQL() instruction in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-a-configuration-setting-when-connecting-a-database/m-p/343094#M59231</link>
    <description>&lt;P&gt;Could you combine them in a single string and run them both at once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sql = "SET random_page_cost = 1; SELECT FROM...;"&lt;/PRE&gt;</description>
    <pubDate>Fri, 18 Dec 2020 19:24:51 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2020-12-18T19:24:51Z</dc:date>
    <item>
      <title>Add a configuration setting when connecting a database (postgresql) with JMP in the same CustomSQL() instruction</title>
      <link>https://community.jmp.com/t5/Discussions/Add-a-configuration-setting-when-connecting-a-database/m-p/341092#M58949</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to speed up some SQL queries with special configuration values for my postgresql database.&lt;/P&gt;&lt;P&gt;For example: &lt;EM&gt;SET random_page_cost = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this in JMP?&lt;/P&gt;&lt;P&gt;Indeed if I create a CustomSQL query&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET random_page_cost = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Then a another one with a classic &lt;EM&gt;SELECT FROM...&lt;/EM&gt; it doesn't work because the value "random_page_cost" seems to be reset to its default value on the second database connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to chain 2 instructions in a same CustomSQL() statement in JMP? How?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:00:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-a-configuration-setting-when-connecting-a-database/m-p/341092#M58949</guid>
      <dc:creator>Franck_R</dc:creator>
      <dc:date>2023-06-09T22:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add a configuration setting when connecting a database (postgresql) with JMP in the same CustomSQL() instruction</title>
      <link>https://community.jmp.com/t5/Discussions/Add-a-configuration-setting-when-connecting-a-database/m-p/343094#M59231</link>
      <description>&lt;P&gt;Could you combine them in a single string and run them both at once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sql = "SET random_page_cost = 1; SELECT FROM...;"&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Dec 2020 19:24:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-a-configuration-setting-when-connecting-a-database/m-p/343094#M59231</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-12-18T19:24:51Z</dc:date>
    </item>
  </channel>
</rss>

