<?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 Loading a Stored Proc from SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237621#M711557</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;I am trying to load a stored proc from SQL called OITMVIEW, I have the following in my script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEMS:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL Exec OITMVIEW;&lt;/P&gt;&lt;P&gt;But when executed I receive the following error;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Error: File .\extdata.cpp, Line 1826&lt;BR /&gt; SQL Exec OITMVIEW "&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;DIV&gt;Any help would be greatly appreciated. Note that I dont have any variables to sent through to SQL.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Kind Regards,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Wynand.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jan 2011 14:57:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-03T14:57:43Z</dc:date>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237621#M711557</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;I am trying to load a stored proc from SQL called OITMVIEW, I have the following in my script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEMS:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL Exec OITMVIEW;&lt;/P&gt;&lt;P&gt;But when executed I receive the following error;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Error: File .\extdata.cpp, Line 1826&lt;BR /&gt; SQL Exec OITMVIEW "&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;DIV&gt;Any help would be greatly appreciated. Note that I dont have any variables to sent through to SQL.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Kind Regards,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Wynand.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 14:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237621#M711557</guid>
      <dc:creator />
      <dc:date>2011-01-03T14:57:43Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237622#M711558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Normally the stored procedure is working as for SQL syntax:&lt;/P&gt;&lt;P&gt;that means that SQL EXECUTE MyProcedure; Should work&lt;/P&gt;&lt;P&gt;Maybe this is not as simple, but are you sure that when you are connecting with your SQL command line, with the same user, then, running EXEC xxxxx is working fine ?&lt;/P&gt;&lt;P&gt;Maybe parameters are missing ?&lt;/P&gt;&lt;P&gt;Maybe you should specify the db owner to execute the stored procedure from ?&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 17:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237622#M711558</guid>
      <dc:creator />
      <dc:date>2011-01-03T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237623#M711559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wynand,&lt;/P&gt;&lt;P&gt;Once you stablisch the ODBC connection to the SQL Server..&lt;/P&gt;&lt;P&gt;You can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;ODBC&lt;/P&gt;&lt;B&gt;CONNECT TO [PACLDB2K801 -LINCS] .........&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;XYZ:&lt;/I&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// you may need to include the database name on the next statement, depending if the login id has a default db different than were the stored procedure is located..&lt;/P&gt;&lt;P&gt;&lt;B&gt;EXEC&lt;/B&gt; [dbo].[RPT_OR_Pressing_Material]&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;@LocationID = 0,&lt;/P&gt;&lt;P&gt;@DepartmentID = 0,&lt;/P&gt;&lt;P&gt;@WorkgroupID = 0,&lt;/P&gt;&lt;P&gt;@WorkcenterID = 0,&lt;/P&gt;&lt;P&gt;@StartDate = N'05/01/2010',&lt;/P&gt;&lt;P&gt;05/09/2020',&lt;/P&gt;&lt;P&gt;-1',&lt;/P&gt;&lt;P&gt;-1',&lt;/P&gt;&lt;P&gt;@ReportOptionID = N'Detail',&lt;/P&gt;&lt;P&gt;@ResponsibleIDs = N'-1'&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 18:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237623#M711559</guid>
      <dc:creator />
      <dc:date>2011-01-03T18:12:14Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237624#M711560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is not something related to the SQL statement. It is related to security rights, as explained here: http://community.qlik.com/forums/p/26440/101333.aspx#101333&lt;/P&gt;&lt;P&gt;That also happens when connecting to other DB's&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 19:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237624#M711560</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2011-01-03T19:46:18Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237625#M711561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;The link you provided refers to someone trying to execute a SAP query. I am trying to run a SQL Stored Procedure. I have a proper connection to the database as I am drawing other data into Qlikview, I am just unable to get the Stored Procedure to execute.&lt;/P&gt;&lt;P&gt;Does anyone else perhaps have any other input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wynand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 08:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237625#M711561</guid>
      <dc:creator />
      <dc:date>2011-01-05T08:04:47Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237626#M711563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;MiguelMena wrote:&lt;BR /&gt;Hi Wynand,&lt;BR /&gt;Once you stablisch the ODBC connection to the SQL Server..&lt;BR /&gt;You can do it like this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ODBC&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;STRONG&gt;CONNECT&lt;/STRONG&gt; &lt;STRONG&gt;TO&lt;/STRONG&gt; [PACLDB2K801 -LINCS] .........&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;XYZ:&lt;/I&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt; LOAD *&lt;BR /&gt;;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;// you may need to include the database name on the next statement, depending if the login id has a default db different than were the stored procedure is located..&lt;BR /&gt;&lt;STRONG&gt;EXEC&lt;/STRONG&gt; [dbo].[RPT_OR_Pressing_Material]&lt;BR /&gt;&lt;BR /&gt;@LocationID = 0,&lt;BR /&gt;@DepartmentID = 0,&lt;BR /&gt;@WorkgroupID = 0,&lt;BR /&gt;@WorkcenterID = 0,&lt;BR /&gt;@StartDate = N'05/01/2010',&lt;BR /&gt;05/09/2020',&lt;BR /&gt;-1',&lt;BR /&gt;-1',&lt;BR /&gt;@ReportOptionID = N'Detail',&lt;BR /&gt;@ResponsibleIDs = N'-1'&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently using an OLE DB connection to SQL. When I change to ODBC, I receive this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ODBC read failed&lt;BR /&gt;SQL Execute OITMVIEW"&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wynand.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 08:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237626#M711563</guid>
      <dc:creator />
      <dc:date>2011-01-05T08:09:24Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237627#M711566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may want to try the steps on this http://community.qlik.com/forums/p/19638/74936.aspx&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 08:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237627#M711566</guid>
      <dc:creator />
      <dc:date>2011-01-05T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237628#M711568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Error: File .\extdata.cpp, Line 1826&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Script Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting the above error while the applicaton reload via QEMC. Have you found any solution for this and why this is happening. &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;Arunesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237628#M711568</guid>
      <dc:creator />
      <dc:date>2011-09-13T14:15:57Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237629#M711569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;I have also this problem latest described 13. September 2011, but can't see any solutions in this threat. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237629#M711569</guid>
      <dc:creator>helgeantonsen</dc:creator>
      <dc:date>2011-10-13T06:52:12Z</dc:date>
    </item>
    <item>
      <title>Loading a Stored Proc from SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237630#M711570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; My problem is solved. I used ODBC connection in stead of OLE DB connection.&amp;nbsp; Probably an old SQL server or driver. If you also have this problem you can try. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 09:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-Stored-Proc-from-SQL/m-p/237630#M711570</guid>
      <dc:creator>helgeantonsen</dc:creator>
      <dc:date>2011-10-13T09:13:28Z</dc:date>
    </item>
  </channel>
</rss>

