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: whoami

Re: whoami

From: Leonel Sanhueza <lsanhuez_at_udec.cl>
Date: 26 May 1998 02:03:59 GMT
Message-ID: <01bd8853$97590a60$94e84a98@claudia.udec.cl>


Umar FArooq <umar.farooq_at_cressoft.com.pk> escribió en artículo <35655991.15EA4CC6_at_cressoft.com.pk>...
> is there a command (or column of a view/table) in oracle equivalent to
> the 'whoami' unix command
>
> THx.
>
>

 Option 1.


select user into user_name_variable from dual;

 Option 2.


SQLPLUS> select user from dual;

Option 3.


SQLPLUS> show user

Leonel Sanhueza
Universidad de Concepcion
Chile. Received on Mon May 25 1998 - 21:03:59 CDT

Original text of this message

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