更新时间:2023-02-07 19:06:12
恐怕没有办法直接获取更新的行数,但可能的解决方法是将更新语句包装在存储过程,并从存储过程返回行数作为结果,可能作为 OUT 参数.
I'm afraid, there isn't a way to get the updated row count directly, but a possibly work-around would be to wrap your update statements in a stored procedure, and from the stored procedure return the row count as the result, maybe as an OUT parameter.
干杯,安佳娜.