<?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 Concatenate in load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820109#M1037036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I am asking this correctly...&lt;/P&gt;&lt;P&gt;I have a SQL select statement and I have been able to use substr to narrow down my field to the 6 numbers I need AGT_6 (123456). now i need to add CL in front so AGT_6 (CL123456) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hierarchy:&lt;/P&gt;&lt;P&gt;SQL SELECT substr(AGT_CD,3,6) as AGT_6&lt;/P&gt;&lt;P&gt;FROM ZDBA.ZAHRMAGC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2015 22:02:03 GMT</pubDate>
    <dc:creator>mwscott1</dc:creator>
    <dc:date>2015-01-05T22:02:03Z</dc:date>
    <item>
      <title>Concatenate in load</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820109#M1037036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I am asking this correctly...&lt;/P&gt;&lt;P&gt;I have a SQL select statement and I have been able to use substr to narrow down my field to the 6 numbers I need AGT_6 (123456). now i need to add CL in front so AGT_6 (CL123456) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hierarchy:&lt;/P&gt;&lt;P&gt;SQL SELECT substr(AGT_CD,3,6) as AGT_6&lt;/P&gt;&lt;P&gt;FROM ZDBA.ZAHRMAGC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 22:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820109#M1037036</guid>
      <dc:creator>mwscott1</dc:creator>
      <dc:date>2015-01-05T22:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate in load</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820110#M1037037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(updated)&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;SQL SELECT 'CL' + substr(AGT_CD,3,6) as AGT_6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ZDBA.ZAHRMAGC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 22:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820110#M1037037</guid>
      <dc:creator />
      <dc:date>2015-01-05T22:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate in load</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820111#M1037038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe in SQL concatenate function is ||&lt;/P&gt;&lt;P&gt;So it would be like&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT 'CL' || substr(AGT_CD,3,6) as AGT_6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ZDBA.ZAHRMAGC;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you can do a preceding load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load 'CL' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AGT_6 as&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AGT_6&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT substr(AGT_CD,3,6) as AGT_6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ZDBA.ZAHRMAGC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 22:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-in-load/m-p/820111#M1037038</guid>
      <dc:creator />
      <dc:date>2015-01-05T22:14:36Z</dc:date>
    </item>
  </channel>
</rss>

