<?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: SQL Syntax Check in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991495#M971460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas of whats gone wrong?&lt;/P&gt;&lt;P&gt;im thinking lunch then try and get to the bottom of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2015 11:45:06 GMT</pubDate>
    <dc:creator>samuel_brierley</dc:creator>
    <dc:date>2015-09-21T11:45:06Z</dc:date>
    <item>
      <title>SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991489#M971454</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;can someone please have a quick check of my SQL Syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Fault List]:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM AFMS.dbo."All_Faults" WHERE "Raised_Time &amp;gt;"&amp;nbsp; $(Last_Updated_Date) "OR Reported_Time &amp;gt;" $(Last_Updated_Date);&lt;/P&gt;&lt;P&gt;store [Fault List] into Fault List.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991489#M971454</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-21T11:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991490#M971455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Fault List]:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM AFMS.dbo.All_Faults WHERE Raised_Time &amp;gt; '$(Last_Updated_Date)' OR Reported_Time &amp;gt; '$(Last_Updated_Date)';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Store [Fault List] into [Fault List].qvd;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991490#M971455</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-21T11:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991491#M971456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming that the variable &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Last_Updated_Date &lt;/EM&gt;contains the date in a text format recognised by the DB server as a date and can be implicitly converted to a datetime (or equivalent) SQL value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991491#M971456</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-21T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991492#M971457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the last_Updated_Date is a timestamp as text in the database that Qlikview then converts to a date/TIme.and stores as a variable, i was assuming that if i then put my Where Clause using the variable it will still work, is this not the case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991492#M971457</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-21T11:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991493#M971458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if t&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;he date in a text format recognised by the DB server as a date and can be implicitly converted to a datetime (or equivalent) SQL value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991493#M971458</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-21T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991494#M971459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahh you werent wrong &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;SQL##f - SqlState: 22008, ErrorCode: 242, ErrorMsg: [Microsoft][SQL Server Native Client 11.0][SQL Server]The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.&lt;/P&gt;&lt;P&gt;[Fault List]:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM AFMS.dbo.All_Faults WHERE Raised_Time &amp;gt; '21/09/2015 12:07:44' OR Reported_Time &amp;gt; '21/09/2015 12:07:44'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991494#M971459</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-21T11:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Syntax Check</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991495#M971460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas of whats gone wrong?&lt;/P&gt;&lt;P&gt;im thinking lunch then try and get to the bottom of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 11:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Syntax-Check/m-p/991495#M971460</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-21T11:45:06Z</dc:date>
    </item>
  </channel>
</rss>

