<?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: Connect to SQL DB and get Row Count of a Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50594#M607875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help. I script code that you have sent is working fine and that is what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Krunal.Shaholia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 05:36:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-05T05:36:44Z</dc:date>
    <item>
      <title>Connect to SQL DB and get Row Count of a Table</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50592#M607873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Morning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView. I want to connect to a MS SQL Server Database and get the total rows count of a particular table through scripting in QlikView. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQl I would do it Like this&amp;nbsp; : Select count(*) From Table1 . This returns the total no.of rows in Table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krunal. Shaholia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 07:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50592#M607873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-04T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL DB and get Row Count of a Table</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50593#M607874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you install your ODBC driver using system DSN for your sql server db? Once you establish ODBC you can just run the script in your Qlikview like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TotalRowCnt:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL Select Count(*) AS TotalRows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50593#M607874</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-04T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL DB and get Row Count of a Table</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50594#M607875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help. I script code that you have sent is working fine and that is what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Krunal.Shaholia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 05:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50594#M607875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-05T05:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL DB and get Row Count of a Table</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50595#M607876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Morning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script code that you have provided is working. Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krunal. Shaholia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 05:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/50595#M607876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-05T05:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQL DB and get Row Count of a Table</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/1970367#M1220527</link>
      <description>&lt;P&gt;hi&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18849"&gt;@vishsaggi&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your solution works perfect!&lt;/P&gt;
&lt;P&gt;I have further question that-&lt;/P&gt;
&lt;P&gt;Will this count function in SQL take same time to execute as it will take to load entire table with just one field to get the row count!!?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-to-SQL-DB-and-get-Row-Count-of-a-Table/m-p/1970367#M1220527</guid>
      <dc:creator>Manish_Kumar_</dc:creator>
      <dc:date>2022-08-18T16:22:21Z</dc:date>
    </item>
  </channel>
</rss>

