Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: whoami
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
![]() |
![]() |