Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How can I achieve the equivalent of Oracle's Decode Function within tMap? What is the best way to achieve this in TOS?
row1.supplier_id==1?value1:(row1.supplier_id==2?value2:value3)
$row1 == 1
? 'value1'
: $row1 == 2
? 'value2'
: 'other'