<?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 Data load editor - From ODBC where date is after x in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-load-editor-From-ODBC-where-date-is-after-x/m-p/1168864#M21311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this platform and hope to gain and share a lot of knowledge related to QS overtime &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm facing a challenge when it comes to create a piece of code where I want to load some data via a ODBC connection where we will define a WHERE statement when the date should be after 1.1.2016 00:00:00, but it seems like that it stuck at SQL select and actually not knowing what's wrong since it seems that it worked for other people. The code looks as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'ODBClive (accdom_jfo010)';&lt;/P&gt;&lt;P&gt;left join (W1_first_counted_materials)&lt;/P&gt;&lt;P&gt;LOAD "VM_PROD_ITEM" as Material,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_DESCR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_LAST_PROD_CC" as "Last counted WCS";&lt;/P&gt;&lt;P&gt;SQL SELECT "VM_PROD_ITEM",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_DESCR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_LAST_PROD_CC"&lt;/P&gt;&lt;P&gt;FROM "CUSTOM"."VW_PRODUCT" WHERE (Date(Date#(VM_PROD_LAST_PROD_CC,'M-D-YYYY hh:mm:ss')) &amp;gt; Date(Date#('1-1-2016 00:00:00', 'M-D-YYYY hh:mm:ss')));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone of you knows what I should change?? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jeffrey !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 09:35:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-30T09:35:56Z</dc:date>
    <item>
      <title>Data load editor - From ODBC where date is after x</title>
      <link>https://community.qlik.com/t5/App-Development/Data-load-editor-From-ODBC-where-date-is-after-x/m-p/1168864#M21311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this platform and hope to gain and share a lot of knowledge related to QS overtime &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm facing a challenge when it comes to create a piece of code where I want to load some data via a ODBC connection where we will define a WHERE statement when the date should be after 1.1.2016 00:00:00, but it seems like that it stuck at SQL select and actually not knowing what's wrong since it seems that it worked for other people. The code looks as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'ODBClive (accdom_jfo010)';&lt;/P&gt;&lt;P&gt;left join (W1_first_counted_materials)&lt;/P&gt;&lt;P&gt;LOAD "VM_PROD_ITEM" as Material,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_DESCR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_LAST_PROD_CC" as "Last counted WCS";&lt;/P&gt;&lt;P&gt;SQL SELECT "VM_PROD_ITEM",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_DESCR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VM_PROD_LAST_PROD_CC"&lt;/P&gt;&lt;P&gt;FROM "CUSTOM"."VW_PRODUCT" WHERE (Date(Date#(VM_PROD_LAST_PROD_CC,'M-D-YYYY hh:mm:ss')) &amp;gt; Date(Date#('1-1-2016 00:00:00', 'M-D-YYYY hh:mm:ss')));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone of you knows what I should change?? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jeffrey !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 09:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-load-editor-From-ODBC-where-date-is-after-x/m-p/1168864#M21311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-30T09:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data load editor - From ODBC where date is after x</title>
      <link>https://community.qlik.com/t5/App-Development/Data-load-editor-From-ODBC-where-date-is-after-x/m-p/1168865#M21312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try this a bit out of the box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LIB CONNECT TO 'ODBClive (accdom_jfo010)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table.name:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"VM_PROD_ITEM" as Material&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,"VM_PROD_DESCR"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, "VM_PROD_LAST_PROD_CC" as "Last counted WCS"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;sql select&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; "VM_PROD_ITEM"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ,"VM_PROD_DESCR"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ,"VM_PROD_LAST_PROD_CC"&lt;/P&gt;&lt;P&gt;from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"CUSTOM"."VW_PRODUCT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;2016 and&lt;/P&gt;&lt;P&gt;month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;1 and&lt;/P&gt;&lt;P&gt;day(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;1 and&lt;/P&gt;&lt;P&gt;DATEPART(hour,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;0 and&lt;/P&gt;&lt;P&gt;DATEPART(mi,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;0 and&lt;/P&gt;&lt;P&gt;DATEPART(ss,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;&amp;gt;0 and&lt;/P&gt;&lt;P&gt;// if needed&lt;/P&gt;&lt;P&gt;//DATEPART(millisecond,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VM_PROD_LAST_PROD_CC&lt;/SPAN&gt;)&amp;gt;0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change &amp;gt; if you want &amp;gt;= and you should look at performance also!&lt;/P&gt;&lt;P&gt;Hoping to be helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 11:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-load-editor-From-ODBC-where-date-is-after-x/m-p/1168865#M21312</guid>
      <dc:creator>simotrab</dc:creator>
      <dc:date>2016-05-30T11:17:01Z</dc:date>
    </item>
  </channel>
</rss>

