I have a field that gets concatenated with additional data each time the record is used. This field is called included_campaigns.
Running the following query:
SELECT *
FROM
`raw_leads`
WHERE
`raw_leads`.`entry_date` >= '2010-01-01 00:00:00' AND
`raw_leads`.`included_campaigns` NOT LIKE '9122'
It is still returning rows that contain "9120-4616-9120-9122-" and "4616-9120-9122-"
I even tried using the % after the 9122 in the query..
I am stumped.. Any thoughts?