SQL Query inline jika

case MyFlag when 1 then 'Yes' else 'No' end
Lazy Lemur