-- Create sequence
create sequence ADD_A
minvalue 90000
maxvalue 999999
start with 120002
increment by 1
cache 20
order;create or replace procedure add_data is
begin
for i in 1..10000 loop
update m_user_info set=(region_code) VALUES (add_a.nextval);
commit;
end loop;end add_data;insert的可以...插入1W记录...
为什么我update m_user_info表的region_code的字段就不可以...
提示错误.不知怎么搞
Compilation errors for PROCEDURE SYSTEM.ADD_DATAError: PL/SQL: ORA-01747: invalid user.table.column, table.column, or column specification
create sequence ADD_A
minvalue 90000
maxvalue 999999
start with 120002
increment by 1
cache 20
order;create or replace procedure add_data is
begin
for i in 1..10000 loop
update m_user_info set=(region_code) VALUES (add_a.nextval);
commit;
end loop;end add_data;insert的可以...插入1W记录...
为什么我update m_user_info表的region_code的字段就不可以...
提示错误.不知怎么搞
Compilation errors for PROCEDURE SYSTEM.ADD_DATAError: PL/SQL: ORA-01747: invalid user.table.column, table.column, or column specification
解决方案 »
- 统计汇总的一个sql
- 帮帮忙 Oracle数据库运行一段时间后 响应特别慢 大家看看是什么原因导致的 向大家讨些经验 (一定结贴)
- 菜鸟问题,求高手解答,在线等!!!
- oracle的存储过程查询动态表的问题请教
- 游标 游标 请帮忙解答谢谢
- oracle734与oracle817的数据之间的导入、导出问题?
- 请教一下:基于Oracle开发的软件系统的数据库安装、卸载与重新安装的问题
- 请问temp临时表空间没有释放,表空间的大小一直在增长是怎么回事?
- 100分求Clob存取完整源码,急!急!急!!!
- 怎么解决oracle根目录重命名造成的一系列问题
- Oracle强制索引
- 自己的Oracle查询练习!
1,这个循环语句语法是正确的,执行也应该没有问题。2,按报错的信息来看,是列名字错误,表里不存在这个列。你把你的update语句跟insert语句对比下看看,是否字段写错了!