Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / PL SQL Programming
 

ORA_LOGIN_USER function returns the current schema name as a VARCHAR2 datatype

SQL> SQL> BEGIN   2    dbms_output.put_line(ora_login_user||' is the current user.');   3  END;   4  / RNTSOFT is the current user. PL/SQL procedure successfully completed. SQL>