<?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 Trying to write this SQL statement in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519695#M30874</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I'm trying to write this SQL Statement but there is a problem with the line before last:&lt;/P&gt;&lt;PRE&gt;Table result = Table.query("SELECT * FROM FRList1 \
WHERE [ChoiceC2] &amp;gt; 0 \
AND [Content] &amp;gt; 0 \
AND [Content] &amp;lt; 10 \
AND 'token.item.Purity' = [Purity] \
ORDER BY ChoiceC2 ASC");&lt;/PRE&gt;&lt;P&gt;token.item.Purity is a string label and [Purity] is a string column in my table.&lt;/P&gt;&lt;P&gt;But I never get a match because of that line although there are matches that I can see.&lt;/P&gt;&lt;P&gt;Is my synthax correct?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 13 Dec 2021 21:05:53 GMT</pubDate>
    <dc:creator>patrickABAWF</dc:creator>
    <dc:date>2021-12-13T21:05:53Z</dc:date>
    <item>
      <title>Trying to write this SQL statement</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519695#M30874</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I'm trying to write this SQL Statement but there is a problem with the line before last:&lt;/P&gt;&lt;PRE&gt;Table result = Table.query("SELECT * FROM FRList1 \
WHERE [ChoiceC2] &amp;gt; 0 \
AND [Content] &amp;gt; 0 \
AND [Content] &amp;lt; 10 \
AND 'token.item.Purity' = [Purity] \
ORDER BY ChoiceC2 ASC");&lt;/PRE&gt;&lt;P&gt;token.item.Purity is a string label and [Purity] is a string column in my table.&lt;/P&gt;&lt;P&gt;But I never get a match because of that line although there are matches that I can see.&lt;/P&gt;&lt;P&gt;Is my synthax correct?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519695#M30874</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-12-13T21:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to write this SQL statement</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519696#M30875</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/240/patrick.c.html" nodeid="240"&gt;@Patrick Cloutier&lt;/A&gt;  It doesn't know what token is.&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:08:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519696#M30875</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-12-13T21:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to write this SQL statement</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519697#M30876</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;How do I write it then?&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:10:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519697#M30876</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-12-13T21:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to write this SQL statement</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519698#M30877</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;I've spent hours in the manual and on w3schools and I can't figure it out...&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:29:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519698#M30877</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-12-13T21:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to write this SQL statement</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519699#M30878</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I found it !!!&lt;/P&gt;&lt;PRE&gt;Table result = Table.query("SELECT * FROM FRList1 \
WHERE [ChoiceC2] &amp;gt; 0 \
AND [Content] &amp;gt; 0 \
AND [Content] &amp;lt; 10 \
AND [Purity] = $1 \
ORDER BY ChoiceC2 ASC", token.item.Purity);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:34:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/trying-to-write-this-sql-statement/m-p/13519699#M30878</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-12-13T21:34:29Z</dc:date>
    </item>
  </channel>
</rss>

