I have a wierd scenario with some data in my db.
I have an email list program that I can enter addresses one at a time or import.
For some reason the email entered one at a time are fine, the imported ones have problems. I think there may be hidden data or something in the field.
example
If I do this I get NOTHING
SELECT * FROM `sonicmailer_pro_list` WHERE `address` = 'craig@test.com'
If I do this I get the correct record.
SELECT * FROM `sonicmailer_pro_list` WHERE `address` LIKE 'craig@test.com%'
When I look at the data, I do not see any trailing spaces. I even tried adding a TRIM() to double check.
The field is a varchar255.
Any idea how I can see whats going on?
Thanks
Craig
I have an email list program that I can enter addresses one at a time or import.
For some reason the email entered one at a time are fine, the imported ones have problems. I think there may be hidden data or something in the field.
example
If I do this I get NOTHING
SELECT * FROM `sonicmailer_pro_list` WHERE `address` = 'craig@test.com'
If I do this I get the correct record.
SELECT * FROM `sonicmailer_pro_list` WHERE `address` LIKE 'craig@test.com%'
When I look at the data, I do not see any trailing spaces. I even tried adding a TRIM() to double check.
The field is a varchar255.
Any idea how I can see whats going on?
Thanks
Craig