chris davies
Registered User.
- Local time
- Today, 07:45
- Joined
- Mar 20, 2005
- Messages
- 86
hello peeps,
I need to update a column based the values of another column. The problem I have is that the other column has four diffferent values so I am at present using two separate queries using the LIKE operator (LIKE "FT*" where the values are FT and FTunit, and NOT LIKE where the values are "PT" and "XX")
What I would like to do is nail this puppy with one query, if possible using an IF statement in the SQL. Is this possible and could some nice person give me at least an idea how to do this please?
many thanx
Chris
I need to update a column based the values of another column. The problem I have is that the other column has four diffferent values so I am at present using two separate queries using the LIKE operator (LIKE "FT*" where the values are FT and FTunit, and NOT LIKE where the values are "PT" and "XX")
What I would like to do is nail this puppy with one query, if possible using an IF statement in the SQL. Is this possible and could some nice person give me at least an idea how to do this please?
many thanx
Chris