Can you summarize how you'd use that?  I'm not familiar.  Thanks.

> -----Original Message-----
> From: MacGregor, Ian A. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 11:11 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: procedure error
> 
> 
> Not true, you could do so before 8i.  Look at the 
> restricted_references pragma You could do stand alone 
> functions without invoking the restricted references pragma.  
> However, with packaged functions, I believe the pragma was mandatory.
> 
> One  of the frustrating things, pre-8i, was when you 
> developed a "pragmatized" function which, for example,  wrote 
> no database state and called an Oracle function which did not 
> do so either,  the function would violate its pragma because 
> Oracle did not declare its function with the pragma.
> 
> 8i invoked the trust argument to restricted_references to get 
> around this.  
> 
> 
> Of course there's always the chance the function is trying to 
> update the database.  This isn't allowed from a select statement.
> 
> Ian MacGregor
> Stanford Linear Accelerator Center
> [EMAIL PROTECTED]
> 
> -----Original Message-----
> Sent: Thursday, July 19, 2001 4:21 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> 
> It is an upgrade issue.  You can place function calls in your
> SELECT with 8i, but can't with older versions.
> 
> ----
> Steve Sapovits
> Global Sports Interactive
> Work Email: [EMAIL PROTECTED]
> Home Email: [EMAIL PROTECTED]
> Work Phone: 610-491-7087
> Cell:       610-574-7706
> Pager:      877-239-4003
> 
> > -----Original Message-----
> > From:       Steve Sapovits [SMTP:[EMAIL PROTECTED]]
> > Sent:       Thursday, July 19, 2001 6:11 PM
> > To: Multiple recipients of list ORACLE-L
> > Subject:    procedure error
> > 
> > 
> > I have a DB instance (B) that's a snapshot of another (A).  
> > 
> > Taking a stored procedure that runs fine on A to B as part of a
> > query (a function really I guess?) produces this error:
> > 
> > DBD::Oracle::db prepare failed: ORA-06571: Function 
> GET_EVENT does not
> > guarantee not to update database 
> > 
> > Any idea what causes this and how to fix it?
> > 
> > B may be a version behind A.  A is 8i.
> > 
> > ----
> > Steve Sapovits
> > Global Sports Interactive
> > Work Email: [EMAIL PROTECTED]
> > Home Email: [EMAIL PROTECTED]
> > Work Phone: 610-491-7087
> > Cell:       610-574-7706
> > Pager:      877-239-4003
> > 
> > -- 
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > -- 
> > Author: Steve Sapovits
> >   INET: [EMAIL PROTECTED]
> > 
> > Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> > San Diego, California        -- Public Internet access / 
> Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Steve Sapovits
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: MacGregor, Ian A.
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steve Sapovits
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to