• select sid from v$session where audsid = sys_context('userenv','sessionid');

  • select distinct sid from v$mystat;