Home > Database > Mysql Tutorial > 关于access数据库的查询问题

关于access数据库的查询问题

WBOY
Release: 2016-06-07 15:42:26
Original
1582 people have browsed it

SELECT MemberID FROM Members WHERE (Account = 'iisp') AND (PWD = '96E79218965EB72C92A549DD5A330112') AND (Audited = [true]) 黑色部分是有错部分, 数据库 中字段类型位布尔类型 这个 查询 报错,至少一个参数没有被指定值, 如果修改为 (Audited =tr

SELECT MemberID FROM Members
WHERE (Account = 'iisp') AND (PWD = '96E79218965EB72C92A549DD5A330112') AND 
      (Audited = [true])

黑色部分是有错部分,数据库中字段类型位布尔类型

这个查询报错,至少一个参数没有被指定值,

如果修改为    (Audited =‘true’),

报错信息修改为:标准表达式式中数据类型不匹配

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template