Hello all,
I'm thinking this is a simple question...
I have a table (tblData) that includes a large-capacity text field (255 characters). I would like to write a query that pulls records that have specific keywords within that text field (txtComments).
I've tried the following sql with no success:
[CODE=sql]SELECT ID, Name, Comments
FROM tblData
WHERE Comments IN ("best","amazin g","George")
ORDER BY ID;[/CODE]
eg of a record that would be pulled:
ID
3
Name
John Smith
Comments
Best service ever.
Any ideas out there? Thank you!
martin
I'm thinking this is a simple question...
I have a table (tblData) that includes a large-capacity text field (255 characters). I would like to write a query that pulls records that have specific keywords within that text field (txtComments).
I've tried the following sql with no success:
[CODE=sql]SELECT ID, Name, Comments
FROM tblData
WHERE Comments IN ("best","amazin g","George")
ORDER BY ID;[/CODE]
eg of a record that would be pulled:
ID
3
Name
John Smith
Comments
Best service ever.
Any ideas out there? Thank you!
martin
Comment