<?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 Load script data from SQL and store them in an xls(x) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-data-from-SQL-and-store-them-in-an-xls-x/m-p/1172172#M462924</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;we Need to prepare an ERP-Implementation and have some issues with exporting data into excel&lt;/P&gt;&lt;P&gt;Does someone of you knows a way to load data directly from the database and store them into an excelfile?&lt;/P&gt;&lt;P&gt;Today we are loading like below and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we Need additionally a load into Excel.&lt;/P&gt;&lt;P&gt;But we have a second challenge: &lt;STRONG&gt;The first 60.000 entries go into Table 1, the next 60.000 entries go into Table 2 and so on &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(If we create a table and Export to Excel it has more than 1.2 Million entries)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;efa_asset:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Index der CODA-Tabelle&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ...&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt; FROM CODA."EFA_ASSET"&lt;BR /&gt; WHERE CMPCODE like '$(varCMPCODE_SQL)'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//AND DELDATE is null&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; efa_asset &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(DirDataQVD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;efa_asset.qvd; &lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;(This should be adapted to load it into an Excel-File)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;Example&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; efa_asset &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(DirDataQVD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;efa_asset.xlsx;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 07:48:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-11T07:48:49Z</dc:date>
    <item>
      <title>Load script data from SQL and store them in an xls(x)</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-data-from-SQL-and-store-them-in-an-xls-x/m-p/1172172#M462924</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;we Need to prepare an ERP-Implementation and have some issues with exporting data into excel&lt;/P&gt;&lt;P&gt;Does someone of you knows a way to load data directly from the database and store them into an excelfile?&lt;/P&gt;&lt;P&gt;Today we are loading like below and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we Need additionally a load into Excel.&lt;/P&gt;&lt;P&gt;But we have a second challenge: &lt;STRONG&gt;The first 60.000 entries go into Table 1, the next 60.000 entries go into Table 2 and so on &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(If we create a table and Export to Excel it has more than 1.2 Million entries)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;efa_asset:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Index der CODA-Tabelle&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ...&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt; FROM CODA."EFA_ASSET"&lt;BR /&gt; WHERE CMPCODE like '$(varCMPCODE_SQL)'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//AND DELDATE is null&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; efa_asset &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(DirDataQVD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;efa_asset.qvd; &lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;(This should be adapted to load it into an Excel-File)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;Example&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; efa_asset &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(DirDataQVD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;efa_asset.xlsx;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 07:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-data-from-SQL-and-store-them-in-an-xls-x/m-p/1172172#M462924</guid>
      <dc:creator />
      <dc:date>2016-08-11T07:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load script data from SQL and store them in an xls(x)</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-data-from-SQL-and-store-them-in-an-xls-x/m-p/1172173#M462925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't store to an excel file. Only output to qvd and text files (like csv) are possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store efa_asset into $(DirDataQVD)efa_asset.csv (txt, delimiter is ',');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to dump data from a database directly from the database into excel files then use an ETL tool that supports writing to Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 08:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-data-from-SQL-and-store-them-in-an-xls-x/m-p/1172173#M462925</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-11T08:03:49Z</dc:date>
    </item>
  </channel>
</rss>

