Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Q:Report w SQL Plus
What about using an extra last line? Add
prompt End of report
after you real query. Or, before your query add
set feedback off
to surpress the normal row count and after your real query, add something like:
variable LastLine char
begin
if sql%rowcount = 0 then
:LastLine := 'No data found.';
else
:LastLine := to_char( sql%rowcount ) || ' records found';
end if;
Arjan. Received on Fri Jul 17 1998 - 00:00:00 CDT
![]() |
![]() |