<?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 General Question about Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/General-Question-about-Script/m-p/200791#M59189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SQL Server to develop you queries -&amp;gt; not a problem If you are connecting using odbc then you can simply get rid of the load part of your query... Try&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Test:&lt;BR /&gt;SQL SELECT&lt;BR /&gt; b.Type,&lt;BR /&gt; a.[Order No],&lt;BR /&gt; case when a.PayType = 'A' Then 'Yes' Else 'No' End as [Paid?],&lt;BR /&gt; a.[Invoice Date]&lt;BR /&gt;From&lt;BR /&gt; TableA a inner join TableB b&lt;BR /&gt;on a.regid = b.regid&lt;BR /&gt;Where&lt;BR /&gt; a.invoicedate &amp;gt; getdate()-30;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Nov 2010 02:05:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-25T02:05:48Z</dc:date>
    <item>
      <title>General Question about Script</title>
      <link>https://community.qlik.com/t5/QlikView/General-Question-about-Script/m-p/200790#M59188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I prefer writing my sql queries n T-SQL (SQL Server), when building a QVD does it matter if I generate my load using sql server and doing my logic there? i.e.&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD&lt;BR /&gt; Type,&lt;BR /&gt; [Order No],&lt;BR /&gt; [Paid?],&lt;BR /&gt; [Invoice Date];&lt;BR /&gt;SQL SELECT&lt;BR /&gt; b.Type,&lt;BR /&gt; a.OrderNo as [Order No],&lt;BR /&gt; case when a.PayType = 'A' Then 'Yes' Else 'No' End as [Paid?],&lt;BR /&gt; a.InvoiceDate as [Invoice Date]&lt;BR /&gt;From&lt;BR /&gt; TableA a inner join TableB b&lt;BR /&gt;on a.regid = b.regid&lt;BR /&gt;Where&lt;BR /&gt; a.invoicedate &amp;gt; getdate()-30;&lt;/P&gt;&lt;P&gt;Or should I be doing this another way? Does it effect any performance by doing the above?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 00:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Question-about-Script/m-p/200790#M59188</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-11-25T00:46:38Z</dc:date>
    </item>
    <item>
      <title>General Question about Script</title>
      <link>https://community.qlik.com/t5/QlikView/General-Question-about-Script/m-p/200791#M59189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SQL Server to develop you queries -&amp;gt; not a problem If you are connecting using odbc then you can simply get rid of the load part of your query... Try&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Test:&lt;BR /&gt;SQL SELECT&lt;BR /&gt; b.Type,&lt;BR /&gt; a.[Order No],&lt;BR /&gt; case when a.PayType = 'A' Then 'Yes' Else 'No' End as [Paid?],&lt;BR /&gt; a.[Invoice Date]&lt;BR /&gt;From&lt;BR /&gt; TableA a inner join TableB b&lt;BR /&gt;on a.regid = b.regid&lt;BR /&gt;Where&lt;BR /&gt; a.invoicedate &amp;gt; getdate()-30;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 02:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Question-about-Script/m-p/200791#M59189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-25T02:05:48Z</dc:date>
    </item>
  </channel>
</rss>

