Using LIKE in MySQL SELECT fields
        Posted  
        
            by Kristopher Ives
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kristopher Ives
        
        
        
        Published on 2010-06-08T23:37:04Z
        Indexed on 
            2010/06/08
            23:42 UTC
        
        
        Read the original article
        Hit count: 254
        
I've been trying to select the status of doing a LIKE comparison:
SELECT (`my_column` LIKE '%thepattern'%) AS `did_match`
Thanks!
© Stack Overflow or respective owner