create table t1(id number primary key,name varchar2(100));

insert into t1 values(1,'aaa');
insert into t1 values(2,''bbb');
commit;
 
create or replace function fun1(p_id number ) return varchar2 is
  Result varchar2(100 );
begin
  select name||'aa' into Result from t1 where id=p_id;
  return( Result);
end fun1;
 
update t1 set name=(fun1( 2)) where 1= 1;
 

ora-04091  表发生了变化,触发器函数不能读它

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-11-19
  • 2022-02-02
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案