Consider this as an exampledeclare @digit table(digit int)insert into @digit select 1 union all select 3 union all select 5select t.tel_no from ( select '020 8647 8463, 0181 465 4756' as tel_no union all select '020 8647 8463, 0181' as tel_no union all select '15020 8647 8463' as tel_no) T , @digit dwhere t.tel_no like '%'+cast(d.digit as varchar(1))+'%' group by t.tel_no having count(*)>=3
MadhivananFailing to plan is Planning to fail