Execute it in a PL/SQL or with exec (sql*plus). You cannot execute a select
with a package. And you cannot execute a select with a function that doesn't
guarantee the integrity level. For more information look for PRAGMA
RESTRICT_REFERENCES. Although this for packages.

Regards.

> -----Mensaje original-----
> De:   Mohan, Ross [SMTP:[EMAIL PROTECTED]]
> Enviado el:   viernes 16 de marzo de 2001 20:51
> Para: Multiple recipients of list ORACLE-L
> Asunto:       For You Slick Developers out there.....
> 
> I get a version-specific glitch ( works in 816, fails in 805 ) 
> for a call to the DBMS_UTILITY.GET_TIME built-in: 
> 
> ###################### 
> SQL> select dbms_utility.get_time from dual; 
> select dbms_utility.get_time from dual 
>        * 
> ERROR at line 1: 
> ORA-06571: Function GET_TIME does not guarantee not to update database 
> ###################### 
> 
> 
> 
> Any ideas why 80520 doesn't like this? 
> 
> TIA, 
> 
> 
> - Ross 
> 
> 
> p.s.  a simple assignment, like, for example  time :=
> DBMS_UTILITY.GET_TIME;    
>         fails as well. 
> 
> p.p.s  I know how to use V$TIMER, so i am looking for a "why this doesn't
> work" 
>           not a "How to fix it by using V$TIMER"  answer. 
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Trassens, Christian
  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