没有问题啊,我做个试验:SQL> create table test(f1 integer,f2 long);表已创建。SQL> begin 2 for x in 1..5 loop 3 insert into test values(x,rpad('*',5000,'*')); 4 end loop; 5 commit; 6 end; 7 /PL/SQL 过程已成功完成。SQL> select f2 from test;F2 ---------------------------------------------- ********************************************** ********************************************** ********************************************** ********************************************** **********************************************已选择5行。
2 for x in 1..5 loop
3 insert into test values(x,rpad('*',5000,'*'));
4 end loop;
5 commit;
6 end;
7 /PL/SQL 过程已成功完成。SQL> select f2 from test;F2
----------------------------------------------
**********************************************
**********************************************
**********************************************
**********************************************
**********************************************已选择5行。
看清楚错误的地方
TO_CHAR(a)
这个是错误的原因~~~~~~~~