My code as fololows
Code:
update DB2ADMIN.DW_WQAS_ALL_TBL
set Multi_flag = (select 'M'
from db2admin.dw_wqas_all_tbl dw , session.wqas w
where dw.contno = w.contno);
I need to update a base table (db2admin.dw_wqas_all_tbl) to mark multipile instances of a container number. When I run this code I get the following error.
Code:
SQL0811N The result of a scalar fullselect, SELECT INTO statement, or VALUES INTO statement is more than one row.
This makes sence because there are mulitpile records in the base table. How do I get around this?