To show, for example….
USER@SID >
I thought this was potentially helpful to a few people so I’m going to answer it too!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Amend your $ORACLE_HOME\sqlplus\admin\glogin.sql script – add:
to the end of the file.
In Oracle 10g this will change correctly each time you issue a ‘conn’. For clients before 10g it won’t change when you do a ‘conn’ but will remain as the username/db you first connected to.
You can also use _date for the current date and _privilege for the privilege (eg SYSDBA) of the connected user.
Reference:
http://www.acs.ilstu.edu/docs/Oracle/server.101/b12170/whatsnew.htm