select sys_context('USERENV','SID') from dual;