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

Home -> Community -> Usenet -> c.d.o.misc -> Are these "features" or bugs?

Are these "features" or bugs?

From: Walter Dnes <waltdnes_at_waltdnes.org>
Date: Sat, 04 Dec 1999 01:49:55 -0500
Message-ID: <dceh4sk4bjckgkmo6rtjp96vcfg6o14viq@4ax.com>

  1. The PL/SQL output procedure DBMS_OUTPUT.PUT_LINE() appears to do an implicit LTRIM() on output. E.g. the string ' XX' is output as 'XX'. This really mucks up attempts to output reports in neat columns. I've resorted to putting leading dots at the beginning of the line to force proper alignment. Is there such an animal as a "non-breaking-space" ? BTW, lines consisting entirely of spaces don't get printed at all. Not even a line feed!
  2. TO_CHAR(<number>, '99') and any variant thereof appears to return a leading space in addition to the columns specified. Again, not knowing this creates mucho problems when trying to line up output in columns.

--
Walter Dnes <waltdnes_at_waltdnes.org> Received on Sat Dec 04 1999 - 00:49:55 CST

Original text of this message

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