<?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 sql syntax problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221617#M74414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This suggestion also fails.&lt;/P&gt;&lt;P&gt;I´m sorry to say, that its my own problem, not telling you that the script is connected to a access database, so beeing a date the answer is&lt;/P&gt;&lt;P&gt;much like Sunils with a litte change&lt;/P&gt;&lt;DIV id="ctl00_ctl00_bcr_bcr_PostForm__QuoteText"&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM 'MYTABLE'&lt;BR /&gt;WHERE FromDate= #17-02-2011#;&lt;/P&gt;&lt;DIV style="clear:both;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 07:32:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-21T07:32:08Z</dc:date>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221611#M74408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m having a problem with my sql sentence. It goes like this&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM 'MYTABLE'&lt;BR /&gt;WHERE [FromDate]="17-02-2011";&lt;/P&gt;&lt;P&gt;I get an error - ODBC access driver - to few parameters??????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221611#M74408</guid>
      <dc:creator />
      <dc:date>2011-02-18T11:17:06Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221612#M74409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the select works without the WHERE clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221612#M74409</guid>
      <dc:creator />
      <dc:date>2011-02-18T11:17:50Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221613#M74410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think that you are out of the SQL-syntax, the single aprostrophe and the square brackets also seem to belong to the Qlik-World. Most of SQL-drivers also expect the date to be delivered as MM/DD/YYYY. Thus try a statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SQL SELECT * FROM TableName_in_the_database WHERE "My Date" &amp;gt; "02/17/2011"&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If still there are problems, try to eliminate the WHERE-clause and figure out, which date-format is required by your ODBC-driver.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 12:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221613#M74410</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-02-18T12:40:37Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221614#M74411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;I tried your statement, but get the same error.&lt;/P&gt;&lt;P&gt;The dates are not "dates" but textfields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 13:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221614#M74411</guid>
      <dc:creator />
      <dc:date>2011-02-18T13:22:24Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221615#M74412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Just make sure both field an value are in the same format in database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SQL SELECT *FROM MYTABLEWHERE FromDate = '20100101';// Using YYYYMMDD or whatever the format is stored the field in&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you perform that query in your query analyzer, does it return the right records?&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 13:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221615#M74412</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-18T13:29:23Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221616#M74413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM 'MYTABLE'&lt;BR /&gt;WHERE FromDate= '17-02-2011';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 14:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221616#M74413</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-18T14:05:06Z</dc:date>
    </item>
    <item>
      <title>sql syntax problem</title>
      <link>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221617#M74414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This suggestion also fails.&lt;/P&gt;&lt;P&gt;I´m sorry to say, that its my own problem, not telling you that the script is connected to a access database, so beeing a date the answer is&lt;/P&gt;&lt;P&gt;much like Sunils with a litte change&lt;/P&gt;&lt;DIV id="ctl00_ctl00_bcr_bcr_PostForm__QuoteText"&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM 'MYTABLE'&lt;BR /&gt;WHERE FromDate= #17-02-2011#;&lt;/P&gt;&lt;DIV style="clear:both;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 07:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-syntax-problem/m-p/221617#M74414</guid>
      <dc:creator />
      <dc:date>2011-02-21T07:32:08Z</dc:date>
    </item>
  </channel>
</rss>

