我在程序中使用Like查询,居然查不到结果.
把查询语句拷到Access的查询里,就可以得到结果.这是为什么啊?
select [ID] as 编号,deptName as 部门名称,logogram as 简码 from tblDept where deptName like '*劳*' and Visible=true order by [ID]