<?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: How to compare 2 database? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150887#M913179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which are the databases you need to compare?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select count(*) from tablename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in both tables it will give result check the rows count at both tables in both DB's and confirm by ur self.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 14:21:55 GMT</pubDate>
    <dc:creator>ramasaisaksoft</dc:creator>
    <dc:date>2016-05-26T14:21:55Z</dc:date>
    <item>
      <title>How to compare 2 database?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150885#M913177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Have 2 different database from 2 different sources. It is assumed that the data is same in both. . There are few common headers in both that I can use to start comparing. But due to volume of rows I am going little slow. in addition there are quite a few columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wat is the best way to compare these 2 databases to highlight the differences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150885#M913177</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare 2 database?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150886#M913178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to do is using INFORMATION_SCHEMA.COLUMNS and create two tabs for each database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125909_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The first tab is "First Database" and I am pulling TABLE_NAME and COLUMN_NAME from INFORMATION_SCHEMA. Information schema has views, tables and columns names. Also, use QUALIFY TABLE_NAME so that only COLUMN_NAME gets joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125910_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the second tab, you do the same. And at the end, your data model will look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/125911_Capture.PNG" style="height: 221px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;And in the front-end, you can do your analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 13:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150886#M913178</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-05-26T13:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare 2 database?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150887#M913179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which are the databases you need to compare?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select count(*) from tablename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in both tables it will give result check the rows count at both tables in both DB's and confirm by ur self.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150887#M913179</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-05-26T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare 2 database?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150888#M913180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *, 'old' as source&lt;/P&gt;&lt;P&gt;from your firstdatabase.firsttable;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *, 'new' as source&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from your firstdatabase.firsttable;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then you create a straight table, you add all of fields except source as dimension, and you add count(source) as expression.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;you should get 2 for all of line in your table if your deux database are the same.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;hope helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-2-database/m-p/1150888#M913180</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2016-05-26T14:48:45Z</dc:date>
    </item>
  </channel>
</rss>

