<?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: TOS - MS SQL Spaces in Column Names in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199953#M2641</link>
    <description>I would expect such a changes to propagate, but then it does for me (v4.0.3). Time to try again? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Wed, 05 Jan 2011 03:51:55 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2011-01-05T03:51:55Z</dc:date>
    <item>
      <title>TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199949#M2637</link>
      <description>I have a MS SQL database which contains spaces and non-alphanumeric characters in the column names (e.g. "First Name", ") in some tables and I'm unsure how to create a table schema to properly handle them.
&lt;BR /&gt;Inside Talend Open Studio I have made a Db Connection to the database. After this I right click the connection and select "Retrieve Schemas". I leave the default settings for "Filter for the Table" screen and click next. From the "Add a Schema on repository" screen I choose the table I would like and click next. On the final page I've tried a few things with the following results:
&lt;BR /&gt;I've left it as generated, with spaces in the column names -&amp;gt; Compilation fails because spaces/special chars aren't valid in Java identifiers.
&lt;BR /&gt;I've tried replacing the spaces with underscores ('_') in the "Column" column -&amp;gt; Use of the schema fails because there are no columns named with underscores.
&lt;BR /&gt;I've tried replacing the spaces with underscores ('_') in the "Column" column and changing the "Db Column" to retain spaces -&amp;gt; Use of the schema fails because there are no columns named with underscores. Apparently "Db Column" isn't used the way I thought it would.
&lt;BR /&gt;I've tried enclosing the column names with square brackets (''), single-quotes ('''), and double-quotes ('"') -&amp;gt; I get an alert saying the column name is invalid.
&lt;BR /&gt;How might I got correctly defining the schema?</description>
      <pubDate>Sat, 16 Nov 2024 13:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199949#M2637</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199950#M2638</link>
      <description>If it makes any difference, I'm using Talend Open Studio 4.1.1.r50363 on Windows 7</description>
      <pubDate>Thu, 30 Dec 2010 15:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199950#M2638</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-12-30T15:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199951#M2639</link>
      <description>Hi,&lt;BR /&gt;In the schema definition, for "Column" replace space with underscore and for "Db Column" retain the column name as is.  It is the column name which is used in Talend for row schema definition.  The Db Column is used while accessing the database.&lt;BR /&gt;Attaching screen shots (this is for an Oracle schema).&lt;BR /&gt;Regards,&lt;BR /&gt;Abhi</description>
      <pubDate>Fri, 31 Dec 2010 04:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199951#M2639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-31T04:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199952#M2640</link>
      <description>Thank you, iterator. What you describe is actually what I had already tried: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I've tried replacing the spaces with underscores ('_') in the "Column" column and changing the "Db Column" to retain spaces -&amp;gt; Use of the schema fails because there are no columns named with underscores. Apparently "Db Column" isn't used the way I thought it would.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;But I went back to try again anyway and it worked! 
&lt;BR /&gt;It seems my problem was that when you edit the "Db Name" column in a schema, the changes DO NOT get propagated to existing components as I was expecting. Removing and re-inserting the components I was using (tMSSqlInput) showed the new updated "Db Name"s 
&lt;BR /&gt;Do you think this is bug worthy or is this something (Db Column name changes not propagating to components) I should have expected to happen?</description>
      <pubDate>Tue, 04 Jan 2011 16:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199952#M2640</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-01-04T16:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199953#M2641</link>
      <description>I would expect such a changes to propagate, but then it does for me (v4.0.3). Time to try again? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 05 Jan 2011 03:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199953#M2641</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-01-05T03:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: TOS - MS SQL Spaces in Column Names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199954#M2642</link>
      <description>Same problem I am having setting Metadata in TOS integration studio, for some reason the TOS studio seems to encounter error in JDBC driver when parsing a space between table and column names even though metadata itself is mapped to column_0 and column name is mapped as "column 0", &amp;nbsp;I have tried moving it to still the same problem.&amp;nbsp;</description>
      <pubDate>Sat, 02 Aug 2014 23:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-MS-SQL-Spaces-in-Column-Names/m-p/2199954#M2642</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-02T23:18:37Z</dc:date>
    </item>
  </channel>
</rss>

