PL/SQL: numeric or value error: character to number conversion error

在最简单的plsql块编程中出现这个错误,是因为 DBMS_OUTPUT.PUT_LINE('the x is '+x);这里面不能用“+”,而是要用“||”

DECLARE x number; 
BEGIN x:=0; 
DBMS_OUTPUT.PUT_LINE('the x is '||x);
END;
原文地址:https://www.cnblogs.com/Iqiaoxun/p/5622645.html