I have a simple program in plsql. Basically the program has no errors but is not printing output when I use dbms_output.put.
declare
v_name varchar(30);
v_len number;
v_number number;
begin
v_name := '&name';
v_number := length(v_name);
while v_number > 0
loop
dbms_output.put(v_number||'::'||substr(v_name,v_number,1));
v_number := v_number - 1;
end loop;
end;
The above program produces output when I use dbms_output.put_line but the output has new line after ever character and I would like to have the output in a single horizontal line. On using dbms_output.put it doesn't throw any error but it just gives me the message: "anonymous block completed"
Please let me know if am doing anything wrong.
Thanks, Dex.