<?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 Comparing binary values in tMSSQLxxxx Select statement in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Comparing-binary-values-in-tMSSQLxxxx-Select-statement/m-p/2318098#M88472</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;We are trying to load the delta data from a source SQL server table into a target SQL server table. The source table has a RowVersion (timestamp) column which is a binairy(8) data type.&lt;BR /&gt;To select the delta load of data, we first do a Max value of the timestamp column of the target table:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Knipsel.JPG" style="width: 746px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt77.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138697iD5A75F3AD698BD01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt77.jpg" alt="0683p000009Lt77.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Then we store this value in a global variable with tFlowToIterate so we can use this in the select statement for the selection of records from the source.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Question: How can we do a SELECT-statement to compare binary values in the WHERE clause? It seems that binairy data is displayed in different ways:&lt;BR /&gt;- SQLserver: &lt;FONT face="courier new,courier"&gt;0x00000000F0793D49&lt;/FONT&gt;&lt;BR /&gt;- Query builder in Talend: &lt;FONT face="courier new,courier"&gt;00000000F0793D49&lt;/FONT&gt;&lt;BR /&gt;- System.out.println value in Talend: &lt;FONT face="courier new,courier"&gt;[B@42d3bd8b&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;Thanks on advance,&lt;/P&gt; 
&lt;P&gt;Regards Glenn.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:32:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:32:53Z</dc:date>
    <item>
      <title>Comparing binary values in tMSSQLxxxx Select statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-binary-values-in-tMSSQLxxxx-Select-statement/m-p/2318098#M88472</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;We are trying to load the delta data from a source SQL server table into a target SQL server table. The source table has a RowVersion (timestamp) column which is a binairy(8) data type.&lt;BR /&gt;To select the delta load of data, we first do a Max value of the timestamp column of the target table:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Knipsel.JPG" style="width: 746px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt77.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138697iD5A75F3AD698BD01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt77.jpg" alt="0683p000009Lt77.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Then we store this value in a global variable with tFlowToIterate so we can use this in the select statement for the selection of records from the source.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Question: How can we do a SELECT-statement to compare binary values in the WHERE clause? It seems that binairy data is displayed in different ways:&lt;BR /&gt;- SQLserver: &lt;FONT face="courier new,courier"&gt;0x00000000F0793D49&lt;/FONT&gt;&lt;BR /&gt;- Query builder in Talend: &lt;FONT face="courier new,courier"&gt;00000000F0793D49&lt;/FONT&gt;&lt;BR /&gt;- System.out.println value in Talend: &lt;FONT face="courier new,courier"&gt;[B@42d3bd8b&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;Thanks on advance,&lt;/P&gt; 
&lt;P&gt;Regards Glenn.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-binary-values-in-tMSSQLxxxx-Select-statement/m-p/2318098#M88472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:32:53Z</dc:date>
    </item>
  </channel>
</rss>

