posted 17 years ago
How about adding another phrase like "... AND NOT LIKE '%_%'"? Or -for better performance- work with the SQL equivalent of String.indexOf.
Or are there other special characters you want to exclude as well?
By the way, please don't ask for answers from specific people. It makes others -who may have more to contribute- feel excluded and unwelcomed.