Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Calling a PL/SQL Function from OCI?

Re: Calling a PL/SQL Function from OCI?

From: TurkBear <noone_at_nowhere.com>
Date: Tue, 09 Jan 2001 14:44:09 -0600
Message-ID: <3vtm5tcvf1pdqc4guaj39ai5dovohiujku@4ax.com>

Check your docs for the use of the PRAGMA directives ( WNDS,RNDS, etc)...your functions needs to use them...

Scott Metzger <scottmetzger_at_my-deja.com> wrote:

>That works great for my simple function in the example I posted. However,
>when I try to call my more complex real life function that uses cursors
>via the DBMS_SQL package I get the following Oracle Error:
>ORA-06571: Function GETNODEQUERY does not guarantee not to update database
>
>Other ideas?
>
>Thanks,
>*:> Scott
>
>In article <93fe4k$sqv$1_at_nnrp1.deja.com>,
> DriftWood <drift_wood_at_my-deja.com> wrote:
>> Try:
>>
>> strcpy(SQL, "select GetNodeQuery(1) from dual");
>
>
>Sent via Deja.com
>http://www.deja.com/
Received on Tue Jan 09 2001 - 14:44:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US