<?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 v SQL SELECT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353336#M1175729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can actually do some of the things you want to also with a SQL SELECT, like specifying the individual fields (this should also be possible via the wizard, but just replace the wildcard with your field list).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you could do a preceding LOAD using all the QV functions to transform / manipulate the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;'Test' as Newfield;&lt;/P&gt;&lt;P&gt;SQL SELECT Field FROM Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 23:25:02 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-03-14T23:25:02Z</dc:date>
    <item>
      <title>LOAD v SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353335#M1175728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Up to now, I have been mainly dealing with table files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I use the LOAD command, then specify the individual fields I want to load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can also append calculated fields, and change the formatting of fields in the script following LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to connect to a MS Access file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the wizard, firstly I connect via ODBC to the Access file; then I click on the Select button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It enters the script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; SELECT *&lt;BR /&gt;FROM Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The problem is that I don;t know how to do the things I do with the LOAD command, such as selecting indivdual fields rather than all (*), or changing the format of individual fields, or appending fields during load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 23:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353335#M1175728</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-03-14T23:09:58Z</dc:date>
    </item>
    <item>
      <title>LOAD v SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353336#M1175729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can actually do some of the things you want to also with a SQL SELECT, like specifying the individual fields (this should also be possible via the wizard, but just replace the wildcard with your field list).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you could do a preceding LOAD using all the QV functions to transform / manipulate the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;'Test' as Newfield;&lt;/P&gt;&lt;P&gt;SQL SELECT Field FROM Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 23:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353336#M1175729</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-14T23:25:02Z</dc:date>
    </item>
    <item>
      <title>LOAD v SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353337#M1175730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Great explanation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 23:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-v-SQL-SELECT/m-p/353337#M1175730</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-03-14T23:40:08Z</dc:date>
    </item>
  </channel>
</rss>

