今天遇到一个可笑的问题,直接操作Access的SQL语句:

Select * from table where txtTitle like '%数据%'

匹配竟然无效。后来才发现在Access中模糊匹配应该用*代替%

Select * from table where txtTitle like '*数据*'

狂晕。。。

posted on 2011-03-10 14:58  AlexCheng  阅读(452)  评论(0编辑  收藏  举报