SQL LIKE command

CasitaProgrammer

Registered User.
Local time
Today, 03:42
Joined
Mar 20, 2011
Messages
13
I am trying to use the LIKE to find the word green in any product name

The Table is PRODUCTS and column is ProductName
What I entered:
SELECT * FROM PRODUCTS
WHERE ProductName LIKE "%green%";

It doesn't work and I know that there are products that have green in the ProductName

What am I doing wrong?
 
Thanks, I had tried different variations for an hour and you solved the problem in seconds.
Thanks:)
 

Users who are viewing this thread

Back
Top Bottom