Jump to content

Update The Result Of A Query From A Number To A Text


Guest Amadeus2009
 Share

Recommended Posts

Guest Amadeus2009

Hey,I'm facing troubles with a small query and am searching for advise:My query is looking like this:select COUNT(product) as Y_Numbersfrom <Name-of-my-Table>where FILTER ='0' AND (product LIKE 'A%')the result of that query is looking like_____|Y_NumbersRow 1| 0If the result is 0, I want the result to be updated to "This filter is working properly".If it is not 0, i want rhe result to be "Filter not working"As you probably see, I'm totaly novice in sql...Thnx for help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...