I am looking for the correct syntax to convert Oracle encode function into T-SQl syntax. Please provide specific syntax and examples.

Thank you.