Re: PL/SQL: How to print field/value at specific column without using spaces??

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 18 Jun 2003 22:02:08 +0200
Message-ID: <vf1impjjaqn0de_at_corp.supernews.com>


"george lewycky" <gelewyc_at_nyct.com> wrote in message news:68aecc05.0306181051.5470ea83_at_posting.google.com...
> Hi
>
> I'm using dbms_output.put_line to format some output
> but I cant seem to find a "simpler" way of printing the
> text, etc. at a specific column or location without
> adding spaces as I show below:
>
> dbms_output.put_line('- Brooklyn, NY 11201 ');
>
>
> This is similiar to using TAB in BASIC, or PIC in COBOL
>
>
> Any ideas or alternatives woud be appreciated
>
> Thanks
>
> George

tab would mean simply using chr(8). Have you ever tried it? Can't see a reason why it wouldn't work.
Of course you could also use lpad(<expression>,number) to get identical results.

-- 
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Wed Jun 18 2003 - 22:02:08 CEST

Original text of this message