Office中国论坛/Access中国论坛

标题: 看一下这个与Access操作的SQL语句! [打印本页]

作者: happysea    时间: 2003-1-27 18:58
标题: 看一下这个与Access操作的SQL语句!
username列值为admin
密码为空!
select * from username='admin' and password=''
会有什么样的结果呢
我的为什么查不到呢!
作者: zhengjialon    时间: 2003-1-28 03:20
没有表名呀?试试这样:select * from [表名] where username='admin' and password=''

作者: cw1976    时间: 2003-2-7 18:26
试试这样:select * from [表名] where username='admin' and password is null





欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3