oracle使用绑定变量

来源:互联网 发布:想做淘宝怎么找货源 编辑:程序博客网 时间:2024/04/20 14:58
  1  begin  2     for i in 1..10 loop  3             execute immediate 'insert into test values(:x,chr(:x + 96))' using i,i;  4     end loop;  5* end;