<?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: Oracle Query with double quotes got ORA-00972 identifier is too long in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375641#M138024</link>
    <description>I find that quotes need to be escaped.  The Java escape character is \  From your post it appears that you are trying to use Oracle style escaping rather than Java&lt;BR /&gt;If you are comfortable looking at the generated Java code from your job then it is easier to understand what is occurring.</description>
    <pubDate>Wed, 21 Aug 2013 19:03:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-21T19:03:30Z</dc:date>
    <item>
      <title>Oracle Query with double quotes got ORA-00972 identifier is too long</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375640#M138023</link>
      <description>Hi All 
&lt;BR /&gt;Talend 5.3.1 , Oracle 11 
&lt;BR /&gt;Query for check : Select to_timestamp ( '2013-05-13T03:52:30.000Z' , 'YYYY-MM-DD"T"HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S.FF3"Z"') from dual ; 
&lt;BR /&gt;This query works ok in SQL developer : 
&lt;BR /&gt;select lastmodifieddate , a.* 
&lt;BR /&gt;from sf_accounts a 
&lt;BR /&gt;where to_timestamp ( lastmodifieddate , 'YYYY-MM-DD"T"HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S.FF3"Z"') &amp;gt; sysdate 
&lt;BR /&gt;in Talend in ToracleInput I got : 
&lt;BR /&gt;ORA-00972 identifier is too long 
&lt;BR /&gt;Cause: An identifier with more than 30 characters was specified. 
&lt;BR /&gt;( w/o where caluse all works ok ) 
&lt;BR /&gt;I tried to use instead on single " , 3" , 4" (for me seems 4" is correct """" ) 
&lt;BR /&gt;but still get ORA-00972 
&lt;BR /&gt; 
&lt;BR /&gt;any ideas how to resolve it ?</description>
      <pubDate>Wed, 21 Aug 2013 14:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375640#M138023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T14:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Query with double quotes got ORA-00972 identifier is too long</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375641#M138024</link>
      <description>I find that quotes need to be escaped.  The Java escape character is \  From your post it appears that you are trying to use Oracle style escaping rather than Java&lt;BR /&gt;If you are comfortable looking at the generated Java code from your job then it is easier to understand what is occurring.</description>
      <pubDate>Wed, 21 Aug 2013 19:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375641#M138024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T19:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Query with double quotes got ORA-00972 identifier is too long</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375642#M138025</link>
      <description>I'd also recommend that you don't use "a.*" and name your columns. It will save you a lot of pain later, when columns don't come out in the order you expect.</description>
      <pubDate>Wed, 21 Aug 2013 21:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375642#M138025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T21:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Query with double quotes got ORA-00972 identifier is too long</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375643#M138026</link>
      <description>I need " in oracel SQL 
&lt;BR /&gt;Query for check : Select to_timestamp ( '2013-05-13T03:52:30.000Z' , 'YYYY-MM-DD"T"HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S.FF3"Z"') from dual ; 
&lt;BR /&gt;just running it - and then got why 
&lt;BR /&gt;Workaround I found is : 
&lt;BR /&gt;context.where1 = "to_timestamp ( lastmodifieddate , 'YYYY-MM-DD~T~HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S.FF3~Z~') &amp;gt; sysdate" ; 
&lt;BR /&gt;context.where1 = context.where1.replace ( '~' , '"' ) ; 
&lt;BR /&gt;and in troracleInput : 
&lt;BR /&gt;" sql text " + context.where1 
&lt;BR /&gt;Not perfect but workable</description>
      <pubDate>Thu, 22 Aug 2013 13:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375643#M138026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-22T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Query with double quotes got ORA-00972 identifier is too long</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375644#M138027</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I find that quotes need to be escaped. The Java escape character is \ From your post it appears that you are trying to use Oracle style escaping rather than Java&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks - You are RIGHT !! 
&lt;BR /&gt;Need to put \ before " : 
&lt;BR /&gt;where to_timestamp ( lastmodifieddate , 'YYYY-MM-DD\"T\"HH24:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S.FF3\"Z\"') &amp;gt; sysdate 
&lt;BR /&gt; 
&lt;BR /&gt;here is simple test for 
&lt;BR /&gt;String a="1234 \" $%^ \"" ; 
&lt;BR /&gt;System.out.println(a); 
&lt;BR /&gt;PS Goood thing in MSDN forum that you can mark other post as usefull - I thought Notify post is same feature 
&lt;BR /&gt;but seems not</description>
      <pubDate>Thu, 22 Aug 2013 13:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-Query-with-double-quotes-got-ORA-00972-identifier-is-too/m-p/2375644#M138027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-22T13:34:19Z</dc:date>
    </item>
  </channel>
</rss>

