Say i have a table with PI on col1 and col2. I have a join condition like :
table1 A
LEFT OUTER JOIN table2 H
ON A.col1 = (
CASE WHEN H.col1 LIKE 'X%'
OR H.col1 IS NULL THEN 'NO NUMBER'
ELSE H.col1
END )
AND A.col2 = H.col2
↧