Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need a string function for sql query

Status
Not open for further replies.

FredBiles

Technical User
Jul 16, 2011
1
US
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:"
 
Why not simply this ?
WHERE yourField NOT LIKE 'Re:%'

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top