Is it possible to reference a column from a table if the column should be "extracted" from the case-statement?
update t1 
set col1 = value
from table1 t1, (select Col3, Col4 from table1) t2
where t1.(CASE 
             WHEN Col3 > 0 THEN Col1 
             ELSE Col2) = t2.(CASE WHEN Col3 > 0
                                   THEN Col1 
                                   ELSE Col2 
                              END)
Thanks in advance for help!
 
     
    