select * from your_table
where project like '%condition%'

解决方案 »

  1.   

    select * from P_table
    where Project = '省份-项目-产品'
      

  2.   


    select * from table1 where charindex(@省份,Project) > 0 
    and charindex(@网站,Project) > 0
    and charindex(@邮件,Project) > 0
      

  3.   

    select * from table1 where @省份+@网站+@邮件=replace(Project,'-','')
      

  4.   

    查省:
    select * from table1 where project like 'YourProvince-%-%'
    查项目:
    select * from table1 where project like '%-YourProject-%'