Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Prompt
Joey <a_little_toe_at_bigfoot.com> wrote in message news:378c52b8.0_at_newsvr.cyberway.com.sg...
> There was a positing on setting the SQL prompt to the database name.
> Can someone re-post it again or email me the script ?
>
It's better to use the instance name rather than the database name. This is the script:
column instance_name new_value instance_name noprint select instance_name from v$instance; column instance_name clear
![]() |
![]() |