<?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 Case Insensitivity in SQL Server in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2114695#M1106</link>
    <description>&lt;P&gt;We have an attribute, for example PERSON_NAME, that sometimes changes case in the source.&amp;nbsp; &amp;nbsp;For example, the person name is "JOHN", but then later changes to "John".&lt;/P&gt;
&lt;P&gt;Compose does not detect this change because due to SQL Server columns being case insensitive, it sees that JOHN = John.&amp;nbsp; Therefore, the name change does not flow through to the Data Warehouse and Data Mart.&lt;/P&gt;
&lt;P&gt;We thought of altering the collation of PERSON_NAME to&amp;nbsp;SQL_Latin1_General_CP1_CS_AS.&amp;nbsp; &amp;nbsp;This would have to be done on the TSTG table and the target data warehouse table.&lt;/P&gt;
&lt;P&gt;However, since the TSTG table is dropped and recreated on each run, then the collation goes back to the default case insensitive.&lt;/P&gt;
&lt;P&gt;Is there another recommended way to deal with this situation?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
    <dc:creator>ricatorrespri</dc:creator>
    <dc:date>2025-03-14T20:49:07Z</dc:date>
    <item>
      <title>Case Insensitivity in SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2114695#M1106</link>
      <description>&lt;P&gt;We have an attribute, for example PERSON_NAME, that sometimes changes case in the source.&amp;nbsp; &amp;nbsp;For example, the person name is "JOHN", but then later changes to "John".&lt;/P&gt;
&lt;P&gt;Compose does not detect this change because due to SQL Server columns being case insensitive, it sees that JOHN = John.&amp;nbsp; Therefore, the name change does not flow through to the Data Warehouse and Data Mart.&lt;/P&gt;
&lt;P&gt;We thought of altering the collation of PERSON_NAME to&amp;nbsp;SQL_Latin1_General_CP1_CS_AS.&amp;nbsp; &amp;nbsp;This would have to be done on the TSTG table and the target data warehouse table.&lt;/P&gt;
&lt;P&gt;However, since the TSTG table is dropped and recreated on each run, then the collation goes back to the default case insensitive.&lt;/P&gt;
&lt;P&gt;Is there another recommended way to deal with this situation?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2114695#M1106</guid>
      <dc:creator>ricatorrespri</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Case Insensitivity in SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2122446#M1129</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/235649"&gt;@ricatorrespri&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;As checked with our internal team&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;As an ELT solution, we adhere to the collation of the target database.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;The recommended approach here is to leverage the database collation to support the type of processing etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Another choice is to create a specific field that concatenates and hashes certain columns.&amp;nbsp; (eg an SHA hash of John and JOHN equate to different values.&amp;nbsp; Compose will see this as a change to the data – and type 2 the record.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Suresh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 12:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2122446#M1129</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2023-09-26T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Case Insensitivity in SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2126701#M1135</link>
      <description>&lt;P&gt;this is considered the correct solution for pretty much all instances of this issue in computer science. though most people convert to lower... converting to upper will get you some weird looks, but it'll work just as well.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 15:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Case-Insensitivity-in-SQL-Server/m-p/2126701#M1135</guid>
      <dc:creator>goro23</dc:creator>
      <dc:date>2023-10-09T15:46:14Z</dc:date>
    </item>
  </channel>
</rss>

