<?xml version="1.0" encoding="windows-1252"?>
<node id="814099" title="Re^3: Execute Oracle Stored procedure using DBIx::ProcedureCall" created="2009-12-23 09:15:18" updated="2009-12-23 09:15:18">
<type id="11">
note</type>
<author id="747201">
afoken</author>
<data>
<field name="doctext">
&lt;blockquote&gt;Here is the Oracle procedure I'm trying to execute &amp;#91;...&amp;#93; &lt;c&gt;create or replace PROCEDURE abc AS [...]&lt;/c&gt;&lt;/blockquote&gt;
&lt;p&gt;This is a PROCEDURE. In your first posting starting this thread, you tried to call it as a FUNCTION.&lt;/p&gt;
&lt;p&gt;A FUNCTION is something else than a PROCEDURE. Functions must return values, procedures can not return anything. Assigning (or comparing) "the result" of a procedure is impossible, as there is no result, and there can't be one.&lt;/p&gt;
&lt;p&gt;&lt;c&gt;something:=someProcedure&lt;/c&gt; is invalid, Oracle told you that, and the Google results for "PLS-00222" would have told you that even more clearly. (And I told you that pretty clear, too.)&lt;/p&gt;
&lt;p&gt;Alexander&lt;/p&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-747201"&gt;
--&lt;br&gt;
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
813695</field>
<field name="parent_node">
813831</field>
</data>
</node>
