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

Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie questions on SQL*Plus

Re: Newbie questions on SQL*Plus

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Tue, 27 Aug 2002 19:56:03 GMT
Message-ID: <3D6BD93C.EDE0BA6B@exesolutions.com>


Carlos Oliveira wrote:

> Hello,
>
> Two simple questions: on SQL*Plus prompt under Linux, how can i know in which database i'm working and how can i know the user name?
>
> Thank you very much in advance
>
> Cheers
>
> Carlos

SELECT USER FROM dual;

SELECT name FROM v_$database;

Daniel Morgan Received on Tue Aug 27 2002 - 14:56:03 CDT

Original text of this message

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