haitao: 那就试试这个 [阅读: 348] 2005-11-23 07:17:57 set @s='|aa|bb|' select * from tb where @s like '%|'+f1+'|%' 我没有试过