need a string function for sql query
need a string function for sql query
(OP)
I have a query that works to list 2 fields in a table side by side.
One field lists subjects of messages. Some of those messages start with the first 3 letters 'Re:' and I want to filter those out. I need a string function, to add to the query, that would say:
and the first 3 letters of field 'subject' does not equal "Re:"
One field lists subjects of messages. Some of those messages start with the first 3 letters 'Re:' and I want to filter those out. I need a string function, to add to the query, that would say:
and the first 3 letters of field 'subject' does not equal "Re:"
RE: need a string function for sql query
r937.com | rudy.ca
Buy my new book Simply SQL from Amazon
RE: need a string function for sql query
WHERE yourField NOT LIKE 'Re:%'
Hope This Helps, PH.
FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?