Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: query $ORACLE_HOME
robert wrote:
>
> Connor McDonald wrote:
> > check dbms_system
>
> hmm why I dont have dbms_system ?
>
> Connected to:
> Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
> With the Partitioning, OLAP and Data Mining options
>
> SQL> select user from dual;
>
> USER
> ------------------------------
> SYSTEM
>
> SQL> desc dbms_system
> ERROR:
> ORA-04043: object dbms_system does not exist
SQL> declare
2 x varchar2(100);
3 begin
4 dbms_system.get_env('ORACLE_HOME',x);
5 dbms_output.put_line(x);
6 end;
7 /
C:\oracle\ora10
PL/SQL procedure successfully completed.
-- Connor McDonald Co-author: "Mastering Oracle PL/SQL - Practical Solutions" ISBN: 1590592174 web: http://www.oracledba.co.uk web: http://www.oaktable.net email: connor_mcdonald_at_yahoo.com Coming Soon! "Oracle Insight - Tales of the OakTable" "GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day" ------------------------------------------------------------Received on Thu Nov 18 2004 - 06:57:43 CST