<?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 Get values in the list from SQL query in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632905#M83126</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there way I could insert the column values in the list than jmp table?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__0-1684435041614.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52868iF56A9610B9C48A6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__0-1684435041614.png" alt="Jackie__0-1684435041614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I 'm trying to write a JSL code to query data from database and I want to store the values from the SQL table into a variable list (not in the JMP table).&lt;BR /&gt;For example, save the WorkCenter sql table values in the list= {};&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jackie&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 18:40:05 GMT</pubDate>
    <dc:creator>Jackie_</dc:creator>
    <dc:date>2023-05-18T18:40:05Z</dc:date>
    <item>
      <title>Get values in the list from SQL query</title>
      <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632905#M83126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there way I could insert the column values in the list than jmp table?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie__0-1684435041614.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52868iF56A9610B9C48A6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie__0-1684435041614.png" alt="Jackie__0-1684435041614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I 'm trying to write a JSL code to query data from database and I want to store the values from the SQL table into a variable list (not in the JMP table).&lt;BR /&gt;For example, save the WorkCenter sql table values in the list= {};&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jackie&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 18:40:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632905#M83126</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-05-18T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get values in the list from SQL query</title>
      <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632973#M83135</link>
      <description>&lt;P&gt;The simplest thing to do, would be to extract the column of data into a JMP data table(it can be an invisible table if desired) and then to use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ValueList = :column name &amp;lt;&amp;lt; get values;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to move the column of data from the data table to a list, and then simply close the data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 21:26:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632973#M83135</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-18T21:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get values in the list from SQL query</title>
      <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632994#M83137</link>
      <description>&lt;P&gt;Hi Jim, That's what I am doing rn, but the problem is it will keep generating multiple tables every time the query is run.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 22:04:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/632994#M83137</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-05-18T22:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get values in the list from SQL query</title>
      <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/633018#M83141</link>
      <description>&lt;P&gt;Your JSL should be able to delete all of those data tables very quickly, so they will not create any issues for the user.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 23:24:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/633018#M83141</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-18T23:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get values in the list from SQL query</title>
      <link>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/633073#M83150</link>
      <description>&lt;P&gt;1. Perform the query and get table as invisible/private&lt;/P&gt;
&lt;P&gt;2. Get values from the table&lt;/P&gt;
&lt;P&gt;3. Close the table&lt;/P&gt;
&lt;P&gt;(4. Write a function to do all this if you repeat it many times with different queries)&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 07:04:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-values-in-the-list-from-SQL-query/m-p/633073#M83150</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-19T07:04:33Z</dc:date>
    </item>
  </channel>
</rss>

