<?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 Error loading data from SQL server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085836#M641722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have started using qlikview very recently. I am trying to bring in data from two tables in sql into Qlikview. I tired using the SQL script with a few modifications. But when i run the screen it gives me read error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the SQL query that work fine in Sql server management studio (like toad). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it as this script in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MessageFullfillment:&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;store MessageFulfillment into MessageFulfillment.QVD(QVD);&lt;/P&gt;&lt;P&gt;DROP TABLE MessageFulfillment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me identify what the issue is with this script. i will really appreciate any help i can get with this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Syed,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 17:05:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-27T17:05:00Z</dc:date>
    <item>
      <title>Error loading data from SQL server</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085836#M641722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have started using qlikview very recently. I am trying to bring in data from two tables in sql into Qlikview. I tired using the SQL script with a few modifications. But when i run the screen it gives me read error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the SQL query that work fine in Sql server management studio (like toad). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it as this script in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MessageFullfillment:&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;store MessageFulfillment into MessageFulfillment.QVD(QVD);&lt;/P&gt;&lt;P&gt;DROP TABLE MessageFulfillment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me identify what the issue is with this script. i will really appreciate any help i can get with this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Syed,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085836#M641722</guid>
      <dc:creator />
      <dc:date>2016-01-27T17:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data from SQL server</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085837#M641723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you load anything from that database into a qlikview document? You didn't forget a CONNECT statement to establish the connection, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085837#M641723</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-27T17:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data from SQL server</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085838#M641724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=EmmeOperations;Data Source=LOUSQLWPS377;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=WKMJ003JPB;Use Encryption for Data=False;Tag with column collation when possible=False];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MessageFullfillment:&lt;/P&gt;&lt;P&gt;SQL select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;store MessageFulfillment into MessageFulfillment.QVD(QVD);&lt;/P&gt;&lt;P&gt;DROP TABLE MessageFulfillment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the full script with connection.&lt;/P&gt;&lt;P&gt;Yes, i am able to load other tables from the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085838#M641724</guid>
      <dc:creator />
      <dc:date>2016-01-27T17:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data from SQL server</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085839#M641725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and this is the error it gives me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB read failed&lt;/P&gt;&lt;P&gt;MessageFullfillment:&lt;/P&gt;&lt;P&gt;SQL select *&lt;/P&gt;&lt;P&gt;from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0013&amp;nbsp; OLEDB CONNECT*Provider*&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0024&amp;nbsp; MessageFullfillment:&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0025&amp;nbsp; select *&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0026&amp;nbsp; from ConfigTouchpoint ct, MessageFulfillment mf&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0027&amp;nbsp; where ct.description like '%Thunderhead%'&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0028&amp;nbsp; and ct.CoreProcessId = mf.CoreProcessId&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:34 AM: 0029&amp;nbsp; and mf.CreatedDate between dateadd(month,-1,current_timestamp) and current_timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:36 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 54 fields found: ConfigTouchpointId, Description, RunWindowConfiguration, PriorRunWindow, CoreProcessId, TouchpointName, ServerName, Path, Port, UserId, Password, Domain, SafeName, Objectname, ApplicationId, InternalVendor, Enabled, ServerType, OutputType, ChannelType, UpdatedBy, UpdatedDate, TouchpointType, CreatedDate, InActivityAge, InActivityAction, ExternalSystemCode, IsArchiveExpected, MessageFulfillmentId, MessageRequestId, ProcessLocation, RecipientType, RecipientId, ReceivedRecipientType, ReceivedRecipientId, CoreProcessId, Error: OLEDB read failed&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:39 AM: 0031&amp;nbsp; store MessageFulfillment into MessageFulfillment.QVD(QVD)&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:39 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Table not found&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:40 AM: 0032&amp;nbsp; DROP TABLE MessageFulfillment&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:40 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Table not found&lt;/P&gt;&lt;P&gt;1/27/2016 11:33:41 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085839#M641725</guid>
      <dc:creator />
      <dc:date>2016-01-27T17:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data from SQL server</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085840#M641726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Error: OLEDB read failed&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Problem with the OLEDB driver. Perhaps you're trying to load a field with data type that the OLEDB driver does not support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data-from-SQL-server/m-p/1085840#M641726</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-27T17:40:58Z</dc:date>
    </item>
  </channel>
</rss>

