<?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 Removing spaces from column names in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2004633#M4209</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Afternoon,&lt;/P&gt;
&lt;P&gt;I am working on a database that has a large number of column names,&amp;nbsp; with spaces in them.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; would like to set up a Global Rule to remove or replace all the spaces in column names&amp;nbsp; I was wondering if we could use the replaceChars command in the Expression builder.&lt;/P&gt;
&lt;P&gt;However&amp;nbsp; I can not find any examples of the syntax of how to do this.&amp;nbsp; Has anyone been able to successfully do this?&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 12:13:59 GMT</pubDate>
    <dc:creator>hale_52372</dc:creator>
    <dc:date>2022-11-15T12:13:59Z</dc:date>
    <item>
      <title>Removing spaces from column names</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2004633#M4209</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Afternoon,&lt;/P&gt;
&lt;P&gt;I am working on a database that has a large number of column names,&amp;nbsp; with spaces in them.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; would like to set up a Global Rule to remove or replace all the spaces in column names&amp;nbsp; I was wondering if we could use the replaceChars command in the Expression builder.&lt;/P&gt;
&lt;P&gt;However&amp;nbsp; I can not find any examples of the syntax of how to do this.&amp;nbsp; Has anyone been able to successfully do this?&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2004633#M4209</guid>
      <dc:creator>hale_52372</dc:creator>
      <dc:date>2022-11-15T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from column names</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2004664#M4211</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the replace() function under the Global Rules --&amp;gt; Expression Builder --&amp;gt; Functions --&amp;gt; Strings --&amp;gt; Replace(X,Y,Z)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying something quick here I could replace the spaces with empty characters by using this expression:&lt;/P&gt;
&lt;P&gt;replace($AR_M_SOURCE_COLUMN_NAME,' ','')&lt;/P&gt;
&lt;P&gt;You can also find more info here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_globTransRuleRenameCol.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_globTransRuleRenameCol.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps, let us know if this is what you're to achieve.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2004664#M4211</guid>
      <dc:creator>Pedro_Lopez</dc:creator>
      <dc:date>2022-11-15T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Removing spaces from column names</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2005411#M4238</link>
      <description>&lt;P&gt;Hello Pedro,&lt;/P&gt;
&lt;P&gt;Thank you for the help,&amp;nbsp; that worked first time .&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Removing-spaces-from-column-names/m-p/2005411#M4238</guid>
      <dc:creator>hale_52372</dc:creator>
      <dc:date>2022-11-16T15:42:20Z</dc:date>
    </item>
  </channel>
</rss>

