Hi,
Probably a very simple problem to fix but I can't seem to get it working.
I have a table with a text column called 'OperatingSystem' - containing data like this: 95/98/2000/XP
I also have some Yes/No columns called IsOS95, IsOS98, IsOS2000 etc.
I'm looking to tick the appropriate yes/no column depending on the presence of the operating system in the OperatingSystem column.
The query I'm using doesn't work however:
UPDATE SET IsOS95 = -1 WHERE OperatingSystem LIKE '95';
It works fine if I hard-code the WHERE statement, but returns no data when using the LIKE command.
Any ideas??
Thanks very much
Probably a very simple problem to fix but I can't seem to get it working.
I have a table with a text column called 'OperatingSystem' - containing data like this: 95/98/2000/XP
I also have some Yes/No columns called IsOS95, IsOS98, IsOS2000 etc.
I'm looking to tick the appropriate yes/no column depending on the presence of the operating system in the OperatingSystem column.
The query I'm using doesn't work however:
UPDATE SET IsOS95 = -1 WHERE OperatingSystem LIKE '95';
It works fine if I hard-code the WHERE statement, but returns no data when using the LIKE command.
Any ideas??
Thanks very much