create or replace procedure UpLoadData
is
ucount number;
  CURSOR udata IS select * from sp_temp t where state=0 for update ;---这这个是用游标来修改数据的begin
select count(*) into ucount  from sp_temp where state=0;
if ucount>0 then
for temp in udata loop
    insert into lhgs.productinfo values(temp.pcode,temp.pname,temp.pguige,temp.ptype,temp.bzq,    temp.scrq,temp.pihao,temp.qs,temp.jhrq,temp.gys,temp.wsxkz,temp.scxkz,temp.quantity,temp.badwmc,
    temp.barq,temp.state);
    
    update sp_temp set state=1 where current of udata;
end loop;end if;
end;
PROCEDURE GSTEMP.UPLOADDATA 编译错误错误:PL/SQL: ORA-00942: 表或视图不存在
行:10
文本:insert into lhgs.productinfo values(temp.pcode,temp.pname,temp.pguige,temp.ptype,temp.bzq,错误:PL/SQL: SQL Statement ignored
行:10
文本:insert into lhgs.productinfo values(temp.pcode,temp.pname,temp.pguige,temp.ptype,temp.bzq,
请高手帮我看看 是什么问题。感激不尽