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

Home -> Community -> Usenet -> c.d.o.server -> simple pl/sql function question ?

simple pl/sql function question ?

From: Tlcbus <tlcbus_at_aol.com>
Date: 1997/10/24
Message-ID: <19971024020601.WAA16771@ladder02.news.aol.com>#1/1

To all:
I wrote a simple pl/sql function to decode a location field(this function does  not access any table). When I tried to execute the function I got following  error message.

ora 06571 "Function%s does not guarantee not to update database"
*cause: a plsql function that does not have a pragma asserting that it

   does not write any database state is referenced in a sql statement.    such functions cannot be used in sql statements.
*action: recreate the function and/or functions it calls with the pragma.
What do I have to do to calls with the pragma ?

Thanks in advance.

Ted ChynI Received on Fri Oct 24 1997 - 00:00:00 CDT

Original text of this message

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