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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: For You Slick Developers out there.....

RE: For You Slick Developers out there.....

From: Trassens, Christian <CTrassens_at_uni2.es>
Date: Mon, 19 Mar 2001 01:54:35 -0800
Message-ID: <F001.002D04A7.20010319012056@fatcity.com>

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:MohanR_at_STARS-SMI.com]
> 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: CTrassens_at_uni2.es

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: ListGuru_at_fatcity.com (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).
Received on Mon Mar 19 2001 - 03:54:35 CST

Original text of this message

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