Please see my other blog for Oracle EBusiness Suite Posts - EBMentors

Search This Blog

Note: All the posts are based on practical approach avoiding lengthy theory. All have been tested on some development servers. Please don’t test any post on production servers until you are sure.

Monday, December 06, 2010

SQL Plus Options

If you want to change the SQL*Plus prompt, so that it automatically includes the name of the current instance, you will have to type the following commands in your SQL*Plus:
 
SQL> SET SQLPROMPT '_CONNECT_IDENTIFIER> '
home2> 
home2> 
home2> 

If you want to set the permanently then have it in glogin.sql on your client machine.
For example on my machine I set as below
D:\DevSuiteHome_1\sqlplus\admin\glogin.sql

SET SQLPROMPT 'SQL@ _CONNECT_IDENTIFIER> '
SET TIMING ON 
 
 

 
 

No comments: