Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: formatting output with SQL*Plus
You don't really need to create a procedure in the database ...
You can do it within an anonymous block (in a sqlplus session)
For example
set serveroutput on
declare
cursor c_val is
select memb1,memb2 from family;
v_col1 varchar2(2000); v_col2 varchar2(2000);