|
|
5精币
“select * from test where yonghuming like '%” + 编辑框_搜索.内容 + “%' and shijian >= '” + 时间_格式化 (日期框1.今天, “yyyy-MM-dd”, “ 00:00:00”, , ) + “' and shijian < '” + 时间_格式化 (增减时间 (日期框1.今天, #日, 1), “yyyy-MM-dd”, “ 00:00:00”, , ) + “';”
以上语句是用的like 这个能模糊cha询 如何把like去掉 指定cha询 怎么拼 求大神给拼一下
|
最佳答案
查看完整内容
“select * from test where yonghuming ='” + 编辑框_搜索.内容 + “' and shijian >= '” + 时间_格式化 (日期框1.今天, “yyyy-MM-dd”, “ 00:00:00”, , ) + “' and shijian < '” + 时间_格式化 (增减时间 (日期框1.今天, #日, 1), “yyyy-MM-dd”, “ 00:00:00”, , ) + “';”
|