case s of
1111:select .......like %1111%;
111:select ........like %111%;
........
end;
呵呵,本办法。用程序提取一下吧。我只是提供一个思路。