How to customize your SQLPLUS utility
In this article we will sew how to customize our sqlplus environment.
This can be of good use when working with more systems in order for you to identify your current session.
Sqlplus environment can be customized using 2 files login.sql and glogin.sql, file in $ORACLE_HOME/sqlplus/admin. Normaly they are empty or commented.
Example of a customized glogin.sql file.
Just add the following lines to your glogin.sql file and save it.
Now test your script by using your sqlplus tool
See that our prompt is identified with the user@instance names, you get other details listed at the start of your session as well.