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: Default login script - to a DB

Re: Default login script - to a DB

From: John Wunderly <johnwunderly_at_fast.net>
Date: 29 Jul 1998 02:01:38 GMT
Message-ID: <01bdba94$fe436e00$9490f5ce@john>


If the databases have been named uniquely, a "select * from v$database" query will do the trick. You might need the DBA(s) to grant the view to PUBLIC. John Wunderly.

John Ratzan <Ratzan_at_us.ibm.com> wrote in article <35bdf97c.0_at_news1.ibm.net>...
> I have a login script that is logging me into a DB, but I do not know
which
> DB.
>
> Is there a command in SQL Plus from the command line to return the name
of
> the DB?
Received on Tue Jul 28 1998 - 21:01:38 CDT

Original text of this message

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