一个简单的查询语句 exec="select * from guestbook where name=我用的数据库是access我要用asp实现查询一个名为比如:小陈 的所有记录这条语句该怎么写?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from guestbook where name='小陈' exec="select * from guestbook where name='小陈'" exec="select * from guestbook where name='''小陈'''" 如果是模糊查询则:select * from guestbook where [name] like '%小陈%' exec='select * from guestbook where name like ''%小陈%'''全单引号 exec="select * from guestbook where name like '*小陈*'"“?”表示任何单一字符; “*”表示零个或多个字符; “#”表示任何一个数字 exec="select * from guestbook where name=N'小陈'"模糊查询exec="select * from guestbook where [name] like N'%小陈%'" 像腾讯这样的大型门户网站首页的数据是如何检索的 asp.net加载dll的问题 菜鸟下跪请教 紧急求助!!!本人的程序为什么没有办法发布到服务器,.vb文件全部失去作用,只有静态的html起作用! 没办法建ASP.NET的程序 怎样将另一个命名空间里的方法用到目前的页面中去?(急) 高分求助,请大家推荐一下你认为好的虚拟主机(支持.NET及Access) datagrid 点击某一行,未读图标消失? 请教高手动态控件的问题 这段代码为什么拒绝访问?(sql拒绝访问) 没钱了!!!! 动态生成表
“?”表示任何单一字符; “*”表示零个或多个字符; “#”表示任何一个数字
exec="select * from guestbook where [name] like N'%小陈%'"