Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: clearing the screen
Odba1961 wrote:
> Can someone tell me how to clear the screen using pl/sql.
> I have tried the following but to no avail.
>
> begin
>
> for v_counter in 1..30 loop
> dbms_output.put_line(' ');
> end loop;
> end;
PUT_LINE does a trim and won't output anything if the result is null. You can force an output by using a non-space character.
dbms_output.put_line(chr(0));
Although, it sounds like you're trying to write an application using SQL*Plus which I'd recommend against. Why exactly do you need this?
Richard Kuhler Received on Fri Oct 03 2003 - 20:11:53 CDT