select - SQL / DB2 - retrieve value and update/increment simultaniously - Stack Overflow

select - SQL / DB2 - retrieve value and update/increment simultaniously - Stack Overflow

瀏覽:1020
日期:2025-09-28
I'm connecting to a DB2 database and executing SQL statements. One example of what is being done is: select field from library/file [program code line finishes executing] [increment value by ... ... update library/file set field = field + 1; select field ...看更多