<?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: Loading data from DB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587217#M1111175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performances are the same but it is better the second in which you list all fields so you may control mistakes or fields with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need to compute fields it is enough &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT field1, field2, field3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "database".dbo.tblSales;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 12:41:21 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-03-18T12:41:21Z</dc:date>
    <item>
      <title>Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587216#M1111174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it good to do select * from table or the ctrl + select required field while pulling data from select wizard.&lt;/P&gt;&lt;P&gt;I think that using preceding load and then removing unncessary fields from preceeding load is enough to avoid unncessary fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg1-&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "database".dbo.tblSales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg2-&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3;&lt;/P&gt;&lt;P&gt;SQL SELECT field1, field2, field3&lt;/P&gt;&lt;P&gt;FROM "database".dbo.tblSales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, could you tell me which example is best from the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587216#M1111174</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-03-18T12:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587217#M1111175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performances are the same but it is better the second in which you list all fields so you may control mistakes or fields with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need to compute fields it is enough &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT field1, field2, field3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "database".dbo.tblSales;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587217#M1111175</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-18T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587218#M1111176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second option is better since it will pull less data from the database over your network. The second option only retrieves the fields you will actually load in the qlikview document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587218#M1111176</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-18T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587219#M1111177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the valuable inputs !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I believe that the data model only loads the required fields even using the Eg1, as we can control the required fields in Preceding load. Am I Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that, less data will be pulled over the network, if I go with second option. However showing all fields in select statement eats up load of space in script editor. What I can do to avoid this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587219#M1111177</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-03-18T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587220#M1111178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes script is longer but this is not a problem, you may write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load field1, field2 .... From&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;field1,&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is better to write needed fields and control their names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587220#M1111178</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-18T12:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587221#M1111179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whilst not "performance-best" - I use select * from... even though I may only require 3 fields in the LOAD script, at times my business will require more to be queried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call if "futureproofing" the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587221#M1111179</guid>
      <dc:creator />
      <dc:date>2014-03-18T12:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from DB</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587222#M1111180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use the Create Select Statement dialog window you have some options to format the script: Column, Row or Structured. You can use these to pick the format that is most useful to you. You can for example choose Structured and then put the three fields you need at a separate line and comment out the rest:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Select Field1, Field2, Field3&lt;/P&gt;&lt;P&gt;// Field4, ..., Field89&lt;/P&gt;&lt;P&gt;// Field90, ..., Field117,&lt;/P&gt;&lt;P&gt;FROM MyTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script editor you can simply select a block of script lines, right click and choose Comment to comment out the selected lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-DB/m-p/587222#M1111180</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-18T13:08:32Z</dc:date>
    </item>
  </channel>
</rss>

