Hi
DB2 8.2.6 on windows 2000
I have a table T1 with following columns
KEY
COL1
COL2
Would like to perform the following task using a single SQL statement:
when KEY=1 and COL2='A' update COL1='X'
when KEY=1 and COL2 != 'A' update COL1 = 'X' and COL2= 'A'
is it possible to have a single SQL statement doing the above?
Thanks in advance
Hari kumar