plsql update count的相關文章
oracle - Number of rows affected by an UPDATE in PL/SQL - Stack Overflow

oracle - Number of rows affected by an UPDATE in PL/SQL - Stack Overflow

瀏覽:1340
日期:2026-04-18
You use the sql%rowcount variable. You need to call it straight after the statement which you need to find the affected row count for. For example: declare i number; begin update employees set status = 'fired' where name like '%Bloggs'; i := sql%rowcount;...看更多