Re: Using stored function in SELECT statement
Date: 1996/05/23
Message-ID: <4o1vph$c8p_at_mtinsc01-mgt.ops.worldnet.att.net>#1/1
Check out the server error reference manual for the ORA-06571 for
instructions to solve this error. It envolves changes you must
make to the stored procedure to insure that the function does't
update the database."Victor Z. Krokhmal"
<victor_at_dwayne.FreeNet.Kiev.UA> wrote:
>Hi there,
>
>I am having difficulty in using stored function in SELECT statement.
>And next example returns error :
>ORA-06571 "Function does not guarantee to not update database".
>
> SELECT var1 FROM tab1
> WHERE Func1(var2)=0;
>
>Therefore, could anyone out there help me to solve this problem.
>
>Thanks for any advice.
>
>---
>€ŠVictor Z. Krokhmal Šemail: victor_at_dwayne.freenet.kiev.ua Š€
>ÂÅ Oracle Database Administrator Å phone: +7 (044) 212-54-81 /faxmodem/ Å Â
>‚ŠState Tax Inspectorate - Ukraine ŠŠ‚
John. Received on Thu May 23 1996 - 00:00:00 CEST