經安全檢測,此網站為安全網站,請放心前往原始網址!

sql - db2: update multiple rows and field with a select on a different table - Stack Overflow

DB2 and the SQL standard don't have a FROM clause in an UPDATE statement. So you have to clearly separate the steps to identify the rows to be modified and to compute the new value.. Here is an example: UPDATE TABLE A SET A.FLD_SUPV = ( SELECT B ...

stackoverflow.com

網址安全性掃描由 google 提供