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: force a title to print in sqlplus

Re: force a title to print in sqlplus

From: stephen booth <stephenbooth.uk_at_gmail.com>
Date: Fri, 13 May 2005 14:45:29 +0100
Message-ID: <687bf9c405051306451f1e577f@mail.gmail.com>


On 5/13/05, Ruth Gramolini <rgramolini_at_tax.state.vt.us> wrote:
> Good morning all,
> One of my developers wants to know if there is a way to force the ttitle =
to
> print on a report even if no rows are found. Does anyone know how to do
> this?

The thing that immediately springs to mind is to add:

union
select ' ' " " from dual

to the end of your queries. This will ensure that you get at least one (blank) row returned.

Stephen

--=20
It's better to ask a silly question than to make a silly assumption.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 13 2005 - 09:50:07 CDT

Original text of this message

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