<?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: [resolved] Invalid escape sequence when defining SQL in (or out) of metadata in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369514#M132652</link>
    <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;'\i2b2\Diagnoses%') i&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The problem come from '\i' and '\D', change it to '\\i' '\\D' or delete them.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
    <pubDate>Fri, 31 Jul 2009 03:24:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-31T03:24:48Z</dc:date>
    <item>
      <title>[resolved] Invalid escape sequence when defining SQL in (or out) of metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369513#M132651</link>
      <description>I am trying to port some of my plsql ETL into the repository (into the metadata as a query). I have done this many times and feel comfortable with the process. For some reason, however, I keep getting the following error message for a particular SQL query: 
&lt;BR /&gt;Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ ) 
&lt;BR /&gt; 
&lt;BR /&gt;The query is a bit bulky, but I thought I'd include it anyway. 
&lt;BR /&gt; 
&lt;BR /&gt;insert /*+ append */ into i2b2demodata.observation_fact( ENCOUNTER_NUM, 
&lt;BR /&gt; PATIENT_NUM, CONCEPT_CD, PROVIDER_ID, 
&lt;BR /&gt; START_DATE, MODIFIER_CD, VALTYPE_CD, 
&lt;BR /&gt; TVAL_CHAR, NVAL_NUM, VALUEFLAG_CD, 
&lt;BR /&gt; QUANTITY_NUM, UNITS_CD, END_DATE, 
&lt;BR /&gt; LOCATION_CD, CONFIDENCE_NUM, 
&lt;BR /&gt; OBSERVATION_BLOB, UPDATE_DATE, 
&lt;BR /&gt; DOWNLOAD_DATE, IMPORT_DATE, 
&lt;BR /&gt; SOURCESYSTEM_CD, 
&lt;BR /&gt; UPLOAD_ID ) with DIAG_DX as ( select ids.enc_num 
&lt;BR /&gt; ENCOUNTER_NUM, crm.me_mpi PATIENT_NUM, 
&lt;BR /&gt; i.c_basecode concept_cd, 
&lt;BR /&gt; ids.PROVIDER_ID PROVIDER_ID, 
&lt;BR /&gt; ids.start_date START_DATE, 
&lt;BR /&gt; ids.modifier_cd MODIFIER_CD, 
&lt;BR /&gt; NULL VALTYPE_CD, 
&lt;BR /&gt; NULL TVAL_CHAR, 
&lt;BR /&gt; NULL NVAL_NUM, 
&lt;BR /&gt; NULL VALUEFLAG_CD, 
&lt;BR /&gt; NULL QUANTITY_NUM, NULL UNITS_CD, 
&lt;BR /&gt; ids.end_date END_DATE, 
&lt;BR /&gt; ids.location_cd LOCATION_CD, 
&lt;BR /&gt; NULL CONFIDENCE_NUM, 
&lt;BR /&gt; NULL OBSERVATION_BLOB, 
&lt;BR /&gt; SYSDATE UPDATE_DATE, 
&lt;BR /&gt; SYSDATE DOWNLOAD_DATE, 
&lt;BR /&gt; SYSDATE IMPORT_DATE, 
&lt;BR /&gt; ids.sourcesystem_cd SOURCESYSTEM_CD, 
&lt;BR /&gt; NULL UPLOAD_ID from ICD9_DX_STAGE ids 
&lt;BR /&gt; INNER JOIN (select distinct i.c_basecode from i2b2metadata.i2b2 i where 
&lt;BR /&gt;i.c_fullname LIKE '\i2b2\Diagnoses%') i on (ids.concept_cd = 
&lt;BR /&gt;regexp_replace(i.c_basecode,'ICD9:', 
&lt;BR /&gt;'')) INNER JOIN CNSLDTN_RDW_MPI_ETL crm ON (crm.src_mrn = 
&lt;BR /&gt;ids.pat_mrn_id) ) select * from DIAG_DX" 
&lt;BR /&gt;My first thoughts were that the Oracle hint (/*+ append */) was causing it problems, but it turns out that isn't the issue (I was able to compile with a short query and the hint). I can't determine where the SQL is contains an invalid sequence. 
&lt;BR /&gt;This is generating a java error and never gets to the Oracle side, so we don't even have to discuss the DBMS right now. 
&lt;BR /&gt; 
&lt;BR /&gt;Please help! 
&lt;BR /&gt;Thanks,</description>
      <pubDate>Sat, 16 Nov 2024 13:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369513#M132651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Invalid escape sequence when defining SQL in (or out) of metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369514#M132652</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;'\i2b2\Diagnoses%') i&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The problem come from '\i' and '\D', change it to '\\i' '\\D' or delete them.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 31 Jul 2009 03:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369514#M132652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-31T03:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Invalid escape sequence when defining SQL in (or out) of metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369515#M132653</link>
      <description>Yup, that worked. I should've recognized that was the problem. Thanks for your help.</description>
      <pubDate>Fri, 31 Jul 2009 15:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369515#M132653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-31T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Invalid escape sequence when defining SQL in (or out) of metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369516#M132654</link>
      <description>Hi, I'm having a \ inside my data and cannot be deleted.&lt;BR /&gt;Is there any way to escape that character?&lt;BR /&gt;right now my data is like "aaaaaa\b".&lt;BR /&gt;so when it is written into the DB, it becomes "aaaaaab".&lt;BR /&gt;Any solutions???&lt;BR /&gt;Thank You</description>
      <pubDate>Tue, 15 Nov 2011 08:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369516#M132654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-15T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Invalid escape sequence when defining SQL in (or out) of metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369517#M132655</link>
      <description>I have a file that contains 1|Test and want to load on Hive external table. I use thiverow but getting error&lt;BR /&gt;Invalid escape sequence.&lt;BR /&gt;Please help me to sort this.</description>
      <pubDate>Fri, 14 Sep 2012 10:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Invalid-escape-sequence-when-defining-SQL-in-or-out-of/m-p/2369517#M132655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-14T10:25:40Z</dc:date>
    </item>
  </channel>
</rss>

