<?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: Misleading error message in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739982#M664323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried putting your variable in single quotes&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SELECT&lt;BR /&gt; *&lt;BR /&gt; FROM &lt;BR /&gt; TableA&lt;BR /&gt; WHERE&lt;BR /&gt; ModifiedOn &amp;gt;= '$(vMaxMod)' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kamiel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 07:13:48 GMT</pubDate>
    <dc:creator>kamielrajaram</dc:creator>
    <dc:date>2015-01-07T07:13:48Z</dc:date>
    <item>
      <title>Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739976#M664316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A QlikView script has failed citing the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Incorrect syntax near '='&lt;/P&gt;&lt;P&gt;General Script Error&lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the code in a .qvw file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no issue with the SQL syntax, and I know this because&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I run the SQL statement in Management Studio it works fine&lt;/P&gt;&lt;P&gt;3) If I delete the existing .qvd then the routine works fine (the script uses incremental loading)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this type of misleading error message before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there known issues with incremental loading?&amp;nbsp; If the exisiting .qvd is corrupt or blank for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 11:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739976#M664316</guid>
      <dc:creator />
      <dc:date>2015-01-06T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739977#M664317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hard to say from here but check:&lt;/P&gt;&lt;P&gt;if the DB is on another server and you have sufficient authorisation on that server and SQL DB with your (QV)user..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 11:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739977#M664317</guid>
      <dc:creator />
      <dc:date>2015-01-06T11:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739978#M664318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problems with the DB connection string or the permissions.&amp;nbsp; I have tested this outside of the incremental load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 17:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739978#M664318</guid>
      <dc:creator />
      <dc:date>2015-01-06T17:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739979#M664319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see but what I ment is that when starting it as a task(scheduled) from the server you will have the QV-user in place next to your own development user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 06:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739979#M664319</guid>
      <dc:creator />
      <dc:date>2015-01-07T06:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739980#M664320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have faced the issue when we were doing READ and WRITE operation on the same time&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Priyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 06:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739980#M664320</guid>
      <dc:creator>priyalshah9779</dc:creator>
      <dc:date>2015-01-07T06:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739981#M664321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the problem is that the variable vMaxMod does not contain a valid date (in number form) if the QVD exists. Put a TRACE statement in your script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE vMaxMod = $(vMaxMod);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before calling your SQL Select to verify that vMaxMod has a valid value. The TRACE statement displays in the reload progress screen and the document log. Alternatively, If you run the script in debug mode, you can check the actual SELECT statement being sent to the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 06:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739981#M664321</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-01-07T06:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Misleading error message</title>
      <link>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739982#M664323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried putting your variable in single quotes&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SELECT&lt;BR /&gt; *&lt;BR /&gt; FROM &lt;BR /&gt; TableA&lt;BR /&gt; WHERE&lt;BR /&gt; ModifiedOn &amp;gt;= '$(vMaxMod)' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kamiel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 07:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Misleading-error-message/m-p/739982#M664323</guid>
      <dc:creator>kamielrajaram</dc:creator>
      <dc:date>2015-01-07T07:13:48Z</dc:date>
    </item>
  </channel>
</rss>

