<?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 Truncate with a where clause should throw syntax error in SQL builder talend 6.5 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214614#M11376</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Talend 6.5 SQL builder (tredshiftrow component), I ran a query with Truncate and where clause which is ideally a syntax error but the SQL builder doesn't throw any error or exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to identify this as an syntax error and capture it in Talend. Could you please suggest ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have alternatives to use delete with where clause however would like to know if we can capture such errors in Talend SQL builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sankeerthana&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:10:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:10:31Z</dc:date>
    <item>
      <title>Truncate with a where clause should throw syntax error in SQL builder talend 6.5</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214614#M11376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Talend 6.5 SQL builder (tredshiftrow component), I ran a query with Truncate and where clause which is ideally a syntax error but the SQL builder doesn't throw any error or exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to identify this as an syntax error and capture it in Talend. Could you please suggest ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have alternatives to use delete with where clause however would like to know if we can capture such errors in Talend SQL builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sankeerthana&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214614#M11376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate with a where clause should throw syntax error in SQL builder talend 6.5</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214615#M11377</link>
      <description>It should pop-up a window and shows the syntax error if you click the Test button. &lt;BR /&gt;Can you show an example of query you are testing?&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Feb 2020 09:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214615#M11377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate with a where clause should throw syntax error in SQL builder talend 6.5</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214616#M11378</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the below query in sql builder of talend (for tredshiftrow component)&lt;/P&gt;&lt;P&gt;Truncate &amp;lt;table&amp;gt; where &amp;lt;column&amp;gt;=&amp;lt;value&amp;gt;.&lt;/P&gt;&lt;P&gt;and was expecting a syntax error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the screenshots for the one where it is working and not working.&lt;/P&gt;&lt;P&gt;Example 1 : Truncate &amp;lt;table&amp;gt; where &amp;lt;column&amp;gt;=&amp;lt;value&amp;gt; ( we don't have column b and also where cannot be used) - doesn't work and talend sql builder is not throwing any error or dialog box&lt;/P&gt;&lt;P&gt;Example 2: Truncate &amp;lt;table&amp;gt; - works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please assist and confirm if its not working or any other process to validate this exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx82"&gt;syntax error throws in a dialog box.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxaE"&gt;truncate with where doesnt throw error.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lxba"&gt;working.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lxbk"&gt;working_row_Deleted.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 26 Feb 2020 20:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Truncate-with-a-where-clause-should-throw-syntax-error-in-SQL/m-p/2214616#M11378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T20:48:07Z</dc:date>
    </item>
  </channel>
</rss>

