<?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: Invalid Character Constant in tOracleRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311066#M82136</link>
    <description>Hi Pavan&lt;BR /&gt;The difference between SQL Developer and tOracleRow is that in tOracleRow the query is a String.&lt;BR /&gt;Can you point out which line causes this error judging from the error log?&lt;BR /&gt;&lt;PRE&gt;replace(replace(b.name, ',' , ' '), '"', '')&lt;/PRE&gt;&lt;BR /&gt;Why do you put double quotation here?&lt;BR /&gt;Maybe you have to change it like '\"'.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Tue, 17 Apr 2012 11:02:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-17T11:02:21Z</dc:date>
    <item>
      <title>Invalid Character Constant in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311065#M82135</link>
      <description>Hi All,
&lt;BR /&gt;When i try to run the below SQL query in tOracleRow_1 i am getting the following error "Invalid Character Constant". The below is the query which i use
&lt;BR /&gt;"SELECT
&lt;BR /&gt;p.sku,
&lt;BR /&gt;md.name AS merch_div,
&lt;BR /&gt;replace(replace(b.name, ',' , ' '), '"', '') AS brand_name,
&lt;BR /&gt;replace(pg.name, ',' , ' ') AS product_grp,
&lt;BR /&gt;(p.sku)||'-'||replace(replace(p.title, ',' , ' '), '"', '') AS title,
&lt;BR /&gt;mg.name AS md_group,
&lt;BR /&gt;p.list_description AS description,
&lt;BR /&gt;p.season||case p.year
&lt;BR /&gt;when 2014 then '2020'
&lt;BR /&gt;when 2014 then '2019'
&lt;BR /&gt;when 2014 then '2018'
&lt;BR /&gt;when 2014 then '2017'
&lt;BR /&gt; .
&lt;BR /&gt; .
&lt;BR /&gt; . 
&lt;BR /&gt;when 2001 then '2001'
&lt;BR /&gt;when 2000 then '2000'
&lt;BR /&gt;END AS Season
&lt;BR /&gt;FROM public_bcs.products p
&lt;BR /&gt;JOIN public_bcs.prod_group pg ON p.prod_group_id = pg.prod_group_id
&lt;BR /&gt;JOIN public_bcs.merch_group_link_prod_group mgpg ON mgpg.prod_group_id = pg.prod_group_id
&lt;BR /&gt;JOIN public_bcs.merchandise_groups mg ON mg.merch_group_id = mgpg.merch_group_id
&lt;BR /&gt;JOIN public_bcs.merchandise_divisions md ON mg.merch_div_id = md.id
&lt;BR /&gt;JOIN public_bcs.brand b on p.brand_id = b.brand_id
&lt;BR /&gt;WHERE p.inactive = '0'
&lt;BR /&gt;AND SUBSTR(p.sku,1,3) != 'GSO'"
&lt;BR /&gt;
&lt;BR /&gt;Can any one help me what changes should be done to my SQl query to run correctly. I use the same query in SQL Developer it run's perfectly but why is it throwing error when running the same query in tOracleRow.
&lt;BR /&gt;Kindly help me out.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan</description>
      <pubDate>Tue, 17 Apr 2012 10:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311065#M82135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T10:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Constant in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311066#M82136</link>
      <description>Hi Pavan&lt;BR /&gt;The difference between SQL Developer and tOracleRow is that in tOracleRow the query is a String.&lt;BR /&gt;Can you point out which line causes this error judging from the error log?&lt;BR /&gt;&lt;PRE&gt;replace(replace(b.name, ',' , ' '), '"', '')&lt;/PRE&gt;&lt;BR /&gt;Why do you put double quotation here?&lt;BR /&gt;Maybe you have to change it like '\"'.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 17 Apr 2012 11:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311066#M82136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Constant in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311067#M82137</link>
      <description>Hi Pedro,&lt;BR /&gt;The issue is resolved we need to keep a ('\"\') where ever the quotation marks are present. But i get another strange error "Key can not be resolved or is not a field". Why am i getting this errors? Can you help me out how to resolve these errors. I attached images of the error and my job. The query in the tOracleRow is same as the above query given and in tOracleOutput i had configured "Create Table if not Exists" and default action "Insert"&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pavan&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi Pavan&lt;BR /&gt;The difference between SQL Developer and tOracleRow is that in tOracleRow the query is a String.&lt;BR /&gt;Can you point out which line causes this error judging from the error log?&lt;BR /&gt;&lt;PRE&gt;replace(replace(b.name, ',' , ' '), '"', '')&lt;/PRE&gt;&lt;BR /&gt;Why do you put double quotation here?&lt;BR /&gt;Maybe you have to change it like '\"'.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311067#M82137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T11:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Constant in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311068#M82138</link>
      <description>Hi All,&lt;BR /&gt;Can any one tell me how to solve the issue mentioned in the above one?&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pavan</description>
      <pubDate>Tue, 17 Apr 2012 18:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311068#M82138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T18:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Character Constant in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311069#M82139</link>
      <description>Hi Pavan 
&lt;BR /&gt;Linking tOracleRow with tOracleOutput directly can not pass query result into Oracle DB. 
&lt;BR /&gt;The job should be like this. 
&lt;BR /&gt;tOracleRow--main--&amp;gt;tParseRecordSet--main--&amp;gt;tOracleOutput 
&lt;BR /&gt;Add a column in tOracleRow and select "Object" data type. 
&lt;BR /&gt;Check Advanced settings-&amp;gt; "Propagate QUERY's recordset" and select the object column. 
&lt;BR /&gt;Or you can get a scenario about tParseRecordSet in TOS document. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 18 Apr 2012 02:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-Character-Constant-in-tOracleRow/m-p/2311069#M82139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-18T02:52:14Z</dc:date>
    </item>
  </channel>
</rss>

