plsqldeveloper - Throws the output ########### in sql developer -
when execute below script doesnt print value. kinldy me solve possible
set serveroutput on; declare v_upd_value varchar2(50); v_dscnt_pcnt number := '22222222.22'; begin v_upd_value := trim(to_char(v_dscnt_pcnt,'9999990.99')); dbms_output.put_line('update value :'||v_upd_value);
end;
thanks in advance
you need add 1 more 9 in to_char function below.
declare v_upd_value varchar2(50); v_dscnt_pcnt number := '22222222.22'; begin v_upd_value := trim(to_char(v_dscnt_pcnt,'99999990.99')); dbms_output.put_line('update value :'||v_upd_value); end;
hope helps..
Comments
Post a Comment