Re: Username in PL/SQL

From: Michel Cadot <>
Date: Thu, 26 Aug 1999 10:08:28 +0200
Message-ID: <7q2sn2$a25$>

You can get the user calling the function with the key word USER in a select statement:

create function my_function...

   calling_user varchar2(30);

   select USER into calling_user from dual;    ...

Edward Beemer a écrit dans le message <7q2pr6$ibs$>...
>Hello guys,
>How can I use the username of the currently logged on user in a PL/SQL
>I would like to call some function with the current username as a parameter.
>With kind regards,
>Edward Beemer
Received on Thu Aug 26 1999 - 10:08:28 CEST

Original text of this message