Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: MINUS VS NOT IN
On Fri, 9 Feb 2001, Mark Leith wrote:
> Jared,
>
> Cool little trick with your SQL prompt there, care to share how you did it?
>
> Cheers
>
> Mark
Here's the script:
REM setprmpt.sql - unix version
REM set prompt to first 3 chars of machine,name, database name, user name
column csid noprint new_value instance_var
set pause off feed off term off
select
lower(substr(global_name,1,instr(global_name,'.')-1)) csid from global_name
set sqlprompt '&who_var@&instance_var SQL> '
set termout on feed on head on
set time on
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: jkstill_at_cybcon.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Feb 09 2001 - 19:06:13 CST