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.
我正在通过 SQLJ 执行更新语句:
#sql [connCtx] { UPDATE MYTABLE SET MYCOLUMN = null WHERE MYCOLUMN IS NOT NULL };
有没有办法检索受影响的行数?
没有你的java代码我认为这是正确的方法:
System.out.println(exec_context.getUpdateCount( ));