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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Determine then name of the DB inside a Stored Procedure

Re: Determine then name of the DB inside a Stored Procedure

From: Kathleen Foley <Kathleen.Foley_at_mail.tju.edu>
Date: Thu, 21 Oct 1999 13:36:14 -0400
Message-ID: <7unimt$icc$1@elmo.tju.edu>


That should be

    select value from sys.v_$parameter where name ='db_name';

Kathy in Philadelphia

Kathleen Foley wrote in message <7unic7$i9c$1_at_elmo.tju.edu>...
>under sys:
> grant select on v_$parameter to <username>;
>
>under <username>
> select value from v_$parameter where name='db_name';
>
>Kathy in Philadelphia
Received on Thu Oct 21 1999 - 12:36:14 CDT

Original text of this message

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