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.
我有一个简单的DELETE FROM ... WHERE ...语句,我想知道通过执行它删除了多少行。我在H2 文档中没有看到任何关于NOCOUNT或ROWCOUNT类似问题的建议。我可以SELECT在相同的条件下执行 a,但想知道是否有更好的方法。
DELETE FROM ... WHERE ...
NOCOUNT
ROWCOUNT
SELECT