且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SQL 更新后 wso2 数据服务能否返回受影响的行?

更新时间: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.

干杯,安佳娜.