QUESTION POSED ON: 17 August 2005
I keep getting the error message of
null values not allowed in column or variable ZORD#T for SQL update (using V5R3):
UPDATE Z9519 A SET
A.ZORD#T = (SELECT COALESCE( B.ZORD#T, A.ZORD#T ) FROM
Z9517 B WHERE A.ZADES1 = B.ZADES1 AND A.WHS=B.WHS)
While I have no problem with the same tables, same SQL in V5R2 (I already set 0 to all numeric fields in table Z9519 before executing SQL update and all numeric fields in Z9517 are not NULL). Can you offer some suggestions as to why I'm having this problem?
|