<?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 extract data from excel if oracle/sql server is down in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2575#M608748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first time reloading it will work. if the data is already there in qvd but not refreshed, in that case noofrows() will not be '0'. How to do in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 07:30:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-18T07:30:09Z</dc:date>
    <item>
      <title>How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2573#M608746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having 2 files (Qvd and excel).The data to the Qvd is coming from Oracle server. and the Excel having the data same as Qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Server is down the Qvd will not refreshed, then we need to take data from excel?&lt;/P&gt;&lt;P&gt;Please help me if possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2573#M608746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T07:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2574#M608747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try someting like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle:&lt;/P&gt;&lt;P&gt;Load A,B,C&lt;/P&gt;&lt;P&gt;where Date=Date(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if noOfRows('Oracle') =0 Then&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Load A,B,C&lt;/P&gt;&lt;P&gt;from Excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;//do nothing&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2574#M608747</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2018-01-18T07:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2575#M608748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first time reloading it will work. if the data is already there in qvd but not refreshed, in that case noofrows() will not be '0'. How to do in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2575#M608748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T07:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2576#M608749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you want to load * from QVD right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle:&lt;/P&gt;&lt;P&gt;Load A,B,C&lt;/P&gt;&lt;P&gt;where Date=Date(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if noOfRows('Oracle') =0 Then&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Load A,B,C&lt;/P&gt;&lt;P&gt;from Excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;//data not refreshed&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Load * from QVD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2576#M608749</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2018-01-18T07:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2577#M608750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you can check QVD file created time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15162624750439853 jive_text_macro" jivemacro_uid="_15162624750439853" modifiedtitle="true"&gt;
&lt;P&gt;Let vQVDPath = 'lib://Desktop/DSNVMG.qvd';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let v_last_load_time =date(QvdCreateTime('$(vQVDPath)'),'YYYY/MM/DD') ;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;if v_last_load_time &amp;lt; date(today(),'YYYY/MM/DD') then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //load Excel&lt;/P&gt;
&lt;P&gt;Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //Load QVD &lt;/P&gt;
&lt;P&gt;end if;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assumption QVD file refresh one time a day and Main app reload same day with QVD file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;An Pham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 08:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2577#M608750</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2018-01-18T08:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract data from excel if oracle/sql server is down</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2578#M608751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel is having updated data.Qvd was not updated due to server down of Oracle.&lt;/P&gt;&lt;P&gt;What I want is If the Qvd is not updated then need to load from excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 08:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-data-from-excel-if-oracle-sql-server-is-down/m-p/2578#M608751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T08:10:34Z</dc:date>
    </item>
  </channel>
</rss>

