<?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 Stored procedure problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305350#M112786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What line is generating the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The double hash looks odd to me, but I'm not very familiar with Oracle.&amp;nbsp; Is that actually what you're including, or is it a placeholder to avoid exposing business information (I assume you don't *really* have a schema named Table and a stored procedure named Procedure)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you get if you run that exact SQL statement directly in your database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2011 16:17:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-30T16:17:45Z</dc:date>
    <item>
      <title>Stored procedure problems</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305349#M112785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to run a stored procedure in and bring back the entire file it generates.&amp;nbsp; I’ve turned on my read/writein the preferences&amp;gt;security tab.&amp;nbsp; Sofar I’ve gotten this far on the syntax with the help of the forums:&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;ODBC&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[Database]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; *;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;Execute&lt;BR /&gt;[Schema].[Procedure] (##, NULL, V_Field);&lt;BR /&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;exit&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I am getting is:&lt;/P&gt;&lt;P&gt;SQL##f - SqlState: 37000, ErrorCode: 0, ErrorMsg:[Oracle][ODBC]Syntax error or access violation.&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should my next steps be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 15:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305349#M112785</guid>
      <dc:creator />
      <dc:date>2011-09-30T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Stored procedure problems</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305350#M112786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What line is generating the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The double hash looks odd to me, but I'm not very familiar with Oracle.&amp;nbsp; Is that actually what you're including, or is it a placeholder to avoid exposing business information (I assume you don't *really* have a schema named Table and a stored procedure named Procedure)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you get if you run that exact SQL statement directly in your database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 16:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305350#M112786</guid>
      <dc:creator />
      <dc:date>2011-09-30T16:17:45Z</dc:date>
    </item>
    <item>
      <title>Stored procedure problems</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305351#M112787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;The error is a direct copy from the error box, no alterations.&amp;nbsp; And you are right, &lt;TABLE&gt;… is actually a schema, correction made.&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 19:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305351#M112787</guid>
      <dc:creator />
      <dc:date>2011-09-30T19:06:14Z</dc:date>
    </item>
    <item>
      <title>Stored procedure problems</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305352#M112788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the query runs OK in Toad?&amp;nbsp; Hmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like I said, I'm not very familiar with Oracle, but what leaps out are the parameters you're passing.&amp;nbsp; What does a double hash represent in PL/SQL?&amp;nbsp; Here's a laugh: I Googled "oracle sql "double hash"" and this thread is the first result - fast work, Google!&amp;nbsp; The only thing I've found suggests that "##" represents the beginning of a comment, like "//" in C++ or "--" in ANSI SQL.&amp;nbsp; If this is the case in PL/SQL, you'd have an unmatched parenthesis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, V_Field looks like a field or variable name, and therefore will be undefined in this context.&amp;nbsp; Unless V_Field is some kind of Oracle magic keyword?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you get any results if you use a simpler sproc with no parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 20:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-problems/m-p/305352#M112788</guid>
      <dc:creator />
      <dc:date>2011-09-30T20:02:22Z</dc:date>
    </item>
  </channel>
</rss>

