关于oracle存储过程select into 未找到数据问题

方法:可以在select into前做个判断是否为空,在进行插入

1.设置变量 x

2.

select (1) into x from xx;

if x!=0 then

  select a into b from xx;

猜你喜欢

转载自blog.csdn.net/a1085441210/article/details/82462978