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 -> Re: Add text at beggining of each row of output

Re: Add text at beggining of each row of output

From: Jay Weiland <jay_at_pixar.com>
Date: Wed, 22 Sep 1999 10:21:20 -0700
Message-ID: <37E91010.2F6B3EEC@pixar.com>


Hey Jim,

     That is exactly how you would do it. If you would like the test to appear in its own column it would be:

     SELECT 'Static Text', column_a, column_b
     FROM...

     ...and if you want the test to appear with an existing column:

     SELECT 'Static Text: ' || column_a, column_b
     FROM...

Jay!!!

jimbob4334_at_my-deja.com wrote:

> How would I put text at the beginning of
> each line of output from an sql query.
>
> For example
>
> select
> 'text',b,c
> from db
>
> TIA,
>
> Jim
Received on Wed Sep 22 1999 - 12:21:20 CDT

Original text of this message

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