游标循环体中使用select into赋值可能导致提前退出

可以先使用count(*)判断,不为0的话  再用select into

猜你喜欢

转载自blog.csdn.net/CodeFarmer_/article/details/80741427