<?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 Creating sql statements in the extractor for the same file will this cause problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282049#M104858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thank you - I was wondering&amp;nbsp; - I am dropping the tables after each, so I am good. thank you again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 16:18:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-15T16:18:58Z</dc:date>
    <item>
      <title>Creating sql statements in the extractor for the same file will this cause problems</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282047#M104856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have a file called&amp;nbsp;&amp;nbsp; X - and there is some reports that have specific information that is needed - so the only way I can do this is by creating an sql statement in the extractor.&amp;nbsp; Which is fine, but if I am creating 5 sql statements to pull the data differently into different tables will this cause a problem does anyone know or should I not be doing this?&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;example &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;//****************************INVOICED ORDERS INVOICED TABLE****************************&lt;/DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/STRONG&gt;&lt;EM style="font-size: 8pt;"&gt;INVOICEDORDERS:&lt;EM style="font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/EM&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;SQL&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SELECT&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SAORD,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SABOCD,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SAINDT,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SACMP,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SATYPE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;WAYTEK.R50FILES.VSAHEAD;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;STORE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;DROP&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Table&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;EM&gt;INVOICEDORDERS;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;//***************************************************************************&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;compared to this sql statement &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;//*************************************************************************************************&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;// New entry on 012411&amp;nbsp; - count the number of credits only for R and C 003 and higher reason&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;//*****************************ORDER HEADER for Credits only for&amp;nbsp; History TABLE************************&lt;/DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;EM style="font-size: 8pt;"&gt;&lt;DIV&gt;VSAHEAD:&lt;/DIV&gt;&lt;EM style="font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/EM&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SELECT&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SACRES,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SAORDS,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SATYPE,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SAINDT,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SACMP,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SAORD,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SABOCD&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;FROM&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;WAYTEK.R50FILES.VSAHEAD&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;WHERE&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SACRES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;'002'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;SABOCD&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;'000'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SATYPE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;'R'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;SATYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;'C';&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;STORE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; VSAHEAD &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;into&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #646464; font-size: 8pt;"&gt;$(Folder_Path)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #646464; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #646464; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004d4d; font-size: 8pt;"&gt;NumberOfCredits_VSAHEAD.qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (qvd);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DROP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Table&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;EM&gt;VSAHEAD;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt;//***************************************************************************&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #00b400; font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 18:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282047#M104856</guid>
      <dc:creator />
      <dc:date>2011-07-14T18:28:26Z</dc:date>
    </item>
    <item>
      <title>Creating sql statements in the extractor for the same file will this cause problems</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282048#M104857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; No as long as you drop the tables between the differend selects. If you do not drop them and you do not want them in 1 table you need to add NOCONCATENATE statement otehrwise qlikview will recognise it's the same table and therefor read it in 1 table.&lt;BR /&gt;Not dropping will cause QV as well to try to link the fields so best is then to force differend field names with teh QUALIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 18:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282048#M104857</guid>
      <dc:creator />
      <dc:date>2011-07-14T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Creating sql statements in the extractor for the same file will this cause problems</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282049#M104858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thank you - I was wondering&amp;nbsp; - I am dropping the tables after each, so I am good. thank you again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 16:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-sql-statements-in-the-extractor-for-the-same-file-will/m-p/282049#M104858</guid>
      <dc:creator />
      <dc:date>2011-07-15T16:18:58Z</dc:date>
    </item>
  </channel>
</rss>

