• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

flag results to true or false

In a view I am selecting the following field along with other fields
see attached sample

the service field result shows a 1 or a 0
if it is a 1 I need the result to say True, if it is 0 then I need the result to show as false.

Here is a sample script
Amanda Walshaw
Amanda Walshaw
1 Solution
Manuel Marienne-DuchĂȘneITMCommented:
SELECT CASE WHEN Your_field = 1 THEN 'True' ELSE 'False' END
FROM your_table
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now