<?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: delete this tokens where limiting rows = 1 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/delete-this-tokens-where-limiting-rows-1/m-p/2310460#M81587</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The key world limit in a query is used to limit the number of return records, for example:&lt;/P&gt;&lt;P&gt;"select `xid`,&lt;/P&gt;&lt;P&gt;`yid`,&lt;/P&gt;&lt;P&gt;`zid`&amp;nbsp;&lt;/P&gt;&lt;P&gt;from BLABLA.FIN"+StringHandling.DQUOTE("record") limit  1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand your requirement about "delete this token where limiting rows = 1", if you want to do further action such as delete something if the query only return 1 row, there is a global variable available for you to check the number of returning lines. &lt;/P&gt;&lt;P&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 07:31:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-04T07:31:19Z</dc:date>
    <item>
      <title>delete this tokens where limiting rows = 1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/delete-this-tokens-where-limiting-rows-1/m-p/2310459#M81586</link>
      <description>&lt;P&gt;Hi All, so I want to limit row to 1 when ingest the data from production.&lt;/P&gt;&lt;P&gt;In My tDBInputMySQL, iquery like this:&lt;/P&gt;&lt;P&gt;"select `xid`,&lt;/P&gt;&lt;P&gt;`yid`,&lt;/P&gt;&lt;P&gt;`zid`&amp;nbsp;&lt;/P&gt;&lt;P&gt;from BLABLA.FIN"+StringHandling.DQUOTE("record") "where limit = 1"&lt;/P&gt;&lt;P&gt;It returns syntax error delete this token ""where limit = 1""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"select `xid`,&lt;/P&gt;&lt;P&gt;`yid`,&lt;/P&gt;&lt;P&gt;`zid`&amp;nbsp;&lt;/P&gt;&lt;P&gt;from BLABLA.FIN"+StringHandling.DQUOTE("record") where limit =1&lt;/P&gt;&lt;P&gt;It returns where where cannot resolved to a type talend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What went wrong? What should I do?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/delete-this-tokens-where-limiting-rows-1/m-p/2310459#M81586</guid>
      <dc:creator>sakura99</dc:creator>
      <dc:date>2024-11-16T01:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: delete this tokens where limiting rows = 1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/delete-this-tokens-where-limiting-rows-1/m-p/2310460#M81587</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The key world limit in a query is used to limit the number of return records, for example:&lt;/P&gt;&lt;P&gt;"select `xid`,&lt;/P&gt;&lt;P&gt;`yid`,&lt;/P&gt;&lt;P&gt;`zid`&amp;nbsp;&lt;/P&gt;&lt;P&gt;from BLABLA.FIN"+StringHandling.DQUOTE("record") limit  1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand your requirement about "delete this token where limiting rows = 1", if you want to do further action such as delete something if the query only return 1 row, there is a global variable available for you to check the number of returning lines. &lt;/P&gt;&lt;P&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 07:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/delete-this-tokens-where-limiting-rows-1/m-p/2310460#M81587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-04T07:31:19Z</dc:date>
    </item>
  </channel>
</rss>

