CASE WHEN TABLEa.COL2 <= TABLEb.COL3 THEN TABLEc.COL3=1 ELSE TABLEc.COL3=0 END
SELECT CASE WHEN TableA.Column2 <= TableB.Colum3 THEN 1 ELSE 0 END AS Column3 FROM Table A INNER JOIN TableB ON ................ WHERE...................
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)