Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想@@rowcount在存储过程中从 hsqldb 获取 rowcount 的值(就像其他 dbms 提供的一样),但是我对通知我的异常感到困惑
@@rowcount
意外令牌:GET,必需:END
谁能帮我解决这个问题?
此语法适用于最新的 HSQLDB 2.2.9 快照:
create procedure del_stuff(inout n int) modifies sql data begin atomic delete from t_temp where t_temp.i > n; get diagnostics n = row_count; end