Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: substr to trim headings

Re: substr to trim headings

From: Ruth Gramolini <rgramolini_at_tax.state.vt.us>
Date: Fri, 5 Jan 2001 15:01:59 -0500
Message-Id: <10732.125887@fatcity.com>


SQLWorksheet isn't as complete as SQLplus. I haven't been able to set any of the usally things that you can do with a set command. It is handy for inline editing...I am a terrifble typist...but if you want all of the bells and whistles use SQLplus once you have finished editing your script.

HTH,
Ruth
it is more important to be human than to be important ----- Original Message -----
From: "Rachel Carmichael" <carmichr_at_hotmail.com> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> Sent: Friday, January 05, 2001 2:31 PM
Subject: Re: substr to trim headings

> don't know about SQLWorksheet -- but I would check the glogin.sql and
> login,sql files on your server and compare them to the ones on your
> client... I'd be willing to bet that on the server there is an entry
>
> col name format a15
>
> which will truncate the heading.
>
> Rachel
>
>
> >From: jfedock_at_ixl.com
> >Reply-To: ORACLE-L_at_fatcity.com
> >To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> >Subject: substr to trim headings
> >Date: Fri, 05 Jan 2001 11:13:01 -0800
> >
> >Anyone know why my headings do not get trimmed when using substr from the
> >SQLPLUS client on my PC.
> >It does work in SQLWorksheet and in the Unix server sqlplus. It happens
on
> >sqlplus client 8.0.5 and 8.1.5
> >
> >For example:
> >
> >HEADING IS NOT TRIMMED.
> >
> >SQL>select substr(username, 1, 15) NAME
> > 2 from dba_users
> > 3 where rownum < 3;
> >
> >NAME
> >---------------------------------------------
> >SYS
> >SYSTEM
> >
> >
> >HEADING IS TRIMMED.
> >
> >NOTE that it works in SQL*Worksheet
> >
> >SQLWKS> select substr(username, 1, 15) NAME
> > from dba_users
> > where rownum < 3;
> >
> >NAME
> >---------------
> >SYS
> >SYSTEM
> >
> >
> >
> >
> >And it works in Unix sqlplus.
> >
> >
> >NAME
> >---------------
> >SYS
> >SYSTEM
> >
> >
> >
> >Thanks for any advice.
> >
> >
> >
> >John Fedock
> >iXL, Inc.
> >
> > <mailto:jfedock_at_ixl.com> jfedock_at_ixl.com
> >http://www.ixl.com <http://www.ixl.com/>
> >
> >--
> >Please see the official ORACLE-L FAQ: http://www.orafaq.com
> >--
> >Author:
> > INET: jfedock_at_ixl.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).
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
> INET: carmichr_at_hotmail.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
Received on Fri Jan 05 2001 - 14:01:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US