Lipu, you know better than to do this. Using a like %% is going to be really slow. 
Please implement a proper table.