是否可以查看存储过程中的查询是否成功? 例如,我想知道以下查询是否成功:
if (UPDATE CurrentState SET buyer = bid
WHERE ID = company_id_var
AND buyer < bid;)
then
//Variable was updated, do something
else
//Variable was not updated, do something else
end if
我试图避免使用SELECT查询来检查它是否已设置为新值。
感谢您的帮助!