prova a gestire la cosa con substr()

http://dev.mysql.com/doc/refman/5.0/...unction_substr

where substr(campo, posizione, lunghezza) = '2'