create proc ss@a varchar(8)asselect count(*)from table_namewhere 字段 like "%"+@a+"%";试一下吧,,要下线了。。没有测试。。