<?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: Concatenate Strings in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327828#M97177</link>
    <description>Hello rhall,
&lt;BR /&gt;My java exoperience is near non existent
&lt;BR /&gt;I've sth. read about the T-Aggregate Component.&amp;nbsp;
&lt;BR /&gt;Does it work also with the Talend component T-Aggregate ?
&lt;BR /&gt;regards john&amp;nbsp;</description>
    <pubDate>Wed, 13 Apr 2016 08:54:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-13T08:54:48Z</dc:date>
    <item>
      <title>Concatenate Strings in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327826#M97175</link>
      <description>Hey folks, 
&lt;BR /&gt;I have an Oracle Query which contenate some Fields&amp;nbsp; 
&lt;BR /&gt; 
&lt;B&gt;Oracle Query:&lt;/B&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;SELECT&lt;BR /&gt;DISTINCT&lt;BR /&gt;(RELQISFB.MNR),&lt;BR /&gt;       RELQISFB.QISRNR,&lt;BR /&gt;	   RELQTXT.ATTRIB01 ||': ' ||RELQISFB.ATTRIB01|| chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB02 || ': ' ||RELQISFB.ATTRIB02 || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB03 || ':'||RELQISFB.ATTRIB03  || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB04 || ':'||RELQISFB.ATTRIB04 || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB05 || ':'||RELQISFB.ATTRIB05 || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB06 || ':'||RELQISFB.ATTRIB06 || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB07 || ':'||RELQISFB.ATTRIB07 || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB08 || ':'||RELQISFB.ATTRIB08 || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB09 || ':'||RELQISFB.ATTRIB09  || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB10 || ':'||RELQISFB.ATTRIB10 || chr(13 )||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB11 || ':'||RELQISFB.ATTRIB11 || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB12 || ':'||RELQISFB.ATTRIB12  || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB13 || ':'||RELQISFB.ATTRIB13 || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB14 || ':'||RELQISFB.ATTRIB14  || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB15 || ':'||RELQISFB.ATTRIB15  || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB16 || ':'||RELQISFB.ATTRIB16  || chr(13)||chr(10)||  &lt;BR /&gt;       RELQTXT.ATTRIB17 || ':'||RELQISFB.ATTRIB17  || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB18 || ':'||RELQISFB.ATTRIB18  || chr(13)||chr(10)||&lt;BR /&gt;       RELQTXT.ATTRIB19 || ':'||RELQISFB.ATTRIB19  || chr(9) || chr(9)|| chr(9) || &lt;BR /&gt; chr(9)||RELQTXT.ATTRIB20 || ':'||RELQISFB.ATTRIB20  || chr(13)||chr(10)&lt;BR /&gt;       AS Textverkettung,  &lt;BR /&gt;       relfba.ANR,&lt;BR /&gt;       RELFBA.RNR&lt;BR /&gt;       FROM INFOR.RELQISFB RELQISFB&lt;BR /&gt;       INNER JOIN INFOR.RELQTXT RELQTXT&lt;BR /&gt;          ON     (RELQISFB.GRP = RELQTXT.GRP)&lt;BR /&gt;             AND (RELQISFB.SPRACHKNZ = RELQTXT.SPRACHKNZ)&lt;BR /&gt;           INNER JOIN     infor.RELFBA RELFBA&lt;BR /&gt;            ON     RELFBA.RNR = RELQISFB.QISRNR&lt;BR /&gt;            Where  relfba.anr = '1001528'&lt;BR /&gt;&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;The Result in an CSV gives the following: 
&lt;BR /&gt; 
&lt;PRE&gt;"MNR","QISRNR","TEXTVERKETTUNG","ANR","RNR"&lt;BR /&gt;"078-....",2862202,"Leistung W: 200				Eingangsspannung V: 400&lt;BR /&gt;Frequenz Hz:  50				Ausgangsspannung V DC: 80&lt;BR /&gt;Ausgangsstrom A DC:48%				Induktion T:VDE 0570 / EN 61558-2-1&lt;BR /&gt;Schaltgruppe PRI-sek:Ii3				Schutzart // Schutzklasse:IP &amp;nbsp;00 // I&lt;BR /&gt;Norm:T40/B // DB				Zulassungen:5,15&lt;BR /&gt;Isolationskl. // Betriebart:Klemmen				Anschlüsse Eingang:Klemmen&lt;BR /&gt;Anschlüsse Ausgang:1-Kammer (getrennte Wicklungen)				Wicklungsart:1&lt;BR /&gt;Restwelligkeit %:10				Montage:&lt;BR /&gt;Oberflächenbehandlung:				Zubehör:&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;Not perfectly formatted but i think it shows what i want to point out. 
&lt;BR /&gt;How i can achive sth. like that in talend ?&amp;nbsp; 
&lt;BR /&gt;regards fireskyer</description>
      <pubDate>Fri, 08 Apr 2016 12:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327826#M97175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Strings in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327827#M97176</link>
      <description>Well, you can use the same SQL and just output to a single column using the tOracleInput. That would be the easiest way since you have already done this. Alternatively you could bring the data in as individual columns and then use a tMap (or tJavaRow, tJavaFlex, etc) to concatenate the data into a single column. The code to do this is simple if you have any Java experience.</description>
      <pubDate>Fri, 08 Apr 2016 13:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327827#M97176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T13:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Strings in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327828#M97177</link>
      <description>Hello rhall,
&lt;BR /&gt;My java exoperience is near non existent
&lt;BR /&gt;I've sth. read about the T-Aggregate Component.&amp;nbsp;
&lt;BR /&gt;Does it work also with the Talend component T-Aggregate ?
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Wed, 13 Apr 2016 08:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327828#M97177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T08:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Strings in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327829#M97178</link>
      <description>Hi John,&lt;BR /&gt;You can either just use that exact SQL with the&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tOracleInput component&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;and output to a single column (built-in schema and create a single varchar column) or use a tMap. The tAggregate component is not what you need.&amp;nbsp;&lt;BR /&gt;With the tMap, you would need to join all of the columns into 1 output column using code similar to below (assuming the input row is "row1"....&lt;BR /&gt;&lt;PRE&gt;row1.col1 +":"+ row1.col2 +":"+ row1.col3 +":"+ Character.toString ((char) 9) +":"+Character.toString ((char) 9)&lt;/PRE&gt;&lt;BR /&gt;The "Character.toString ((char) 9)" sections produce the tabs that you wanted in your SQL.&lt;BR /&gt;Either one of the methods will work for you</description>
      <pubDate>Wed, 13 Apr 2016 09:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327829#M97178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Strings in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327830#M97179</link>
      <description>Thanks rhall&amp;nbsp;
&lt;BR /&gt;I'll try and see if it's fit &amp;nbsp;.. or may i make this steps on the Basic when i create the sql query&amp;nbsp;
&lt;BR /&gt;Thanks for the tips it will be useful in other situations too&amp;nbsp;
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Thu, 14 Apr 2016 22:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Concatenate-Strings-in-Talend/m-p/2327830#M97179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T22:03:46Z</dc:date>
    </item>
  </channel>
</rss>

