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

flag results to true or false

Hello,
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
0
Amanda Walshaw
Asked:
Amanda Walshaw
1 Solution
 
Manuel Marienne-DuchêneITMCommented:
SELECT CASE WHEN Your_field = 1 THEN 'True' ELSE 'False' END
FROM your_table
0
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

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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