DBMS_OUTPUT.PUT_LINE(V_SQL) 报错:ora-06502 缓存区太小修改:(分段打印)for i in 1..5 loop DBMS_OUTPUT.PUT_LINE(substr(V_SQL,1500*(i-1)+1,1500)); end loop;