ORACLE: select current (connection/session) user name?
416044Jan 9 2004 — edited Jan 9 2004i need to send a SELECT statement via JDBC that returns the user name (or user id) of the current connection/session. because i didn't create the connection that i use, so i need to query the ORACLE database to get the current user info. where can i get this info from?
i can perform a
select * from v$session
but that just gives me all users. how can i get the current connection/session user?