Home » RDBMS Server » Networking and Gateways » how do i show current sqlnet connect string in SQL Plus?
|
Re: how do i show current sqlnet connect string in SQL Plus? [message #261 is a reply to message #256] |
Fri, 01 February 2002 10:15  |
Bala
Messages: 205 Registered: November 1999
|
Senior Member |
|
|
Hi
set sqlprompt is the command.
you would basically
SQL> COLUMN rdbms_id NEW_VALUE prompt_str NOPRINT
SQL> SELECT name || '> ' rdbms_id FROM V$DATABASE;
SQL> SET SQLPROMPT '&&prompt_str'
you can put this in a file and call this
from login.sql... so that you don't need to run this every time .....you run sql plus..
Bala.
|
|
|
Goto Forum:
Current Time: Wed Apr 16 22:43:45 CDT 2025
|