Database Administration (MOSC)

MOSC Banner

11gR2 : Error with DBMS_SYSTEM

edited Nov 7, 2013 11:31PM in Database Administration (MOSC) 2 commentsAnswered
Hi ,
I have this error when trying to dispaly ORACLE_HOME value . Why ?

 DECLARE
   folder   VARCHAR2 (100);
BEGIN
   SYS.DBMS_SYSTEM.get_env('ORACLE_HOME', folder);
   DBMS_OUTPUT.put_line (folder);
END;
 
ORA-06550: line 5, column 4:
PLS-00201: identifier 'SYS.DBMS_SYSTEM' must be declared
ORA-06550: line 5, column 4:
PL/SQL: Statement ignored


Best regards.
GD.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center