Re: Cannot call function in query

From: Rowan McCammon <rowanm_at_intercoast.com.au>
Date: 1997/06/05
Message-ID: <MPG.e00b6c6170d265a989686_at_news.acay.com.au>#1/1


In article <MPG.dffc43c6c29613a989683_at_news.acay.com.au>, rowanm_at_intercoast.com.au says...
> PL/SQL: I've declared a function in a package that simply
> returns a constant.
>
> When I use this function in a SQL query I get an error
> message that tells me something like "Cannot perform
> query as database may be updated. Cannot guarantee non-
> update."
>
> If I then define a copy of this function outside the
> package (i.e.. simply a stored function) and call it from
> within a query, the query works fine.
>
> Can anyone explain this to me?
>
> Any help appreciated,
> Rowan McCammon.
>
Thank you to all the people who helped me with this problem. Your time was much appreciated.

Regards,
Ro. Received on Thu Jun 05 1997 - 00:00:00 CEST

Original text of this message