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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -