Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL*Plus Client on Windows
On 9/8/07, Tanel Poder <tanel.poder.003_at_mail.ee> wrote:
>
> Here's my i.sql which I use both for identifying where I'm logged on
> before
> doing any changes to database, plus it is called through login.sql. The
> window title change happens on the last line:
>
>
There is one small problem with that approach:
If you use 'connect' within sqlplus, and sqlplus is < 10g your title will not change, and you may become confused as to which system you are really on.
One way around that is to use a wrapper for connect.
Another way is to never use 'connect' from the command line, just exit and restart sqlplus with the new connection.
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-lReceived on Mon Sep 10 2007 - 12:25:47 CDT