Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ms-access/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在delphi中使用关键字作为access数据库表名和字段名时,如何选择数据_Delphi_Ms Access_Delphi Xe_Ms Access 2000 - Fatal编程技术网

在delphi中使用关键字作为access数据库表名和字段名时,如何选择数据

在delphi中使用关键字作为access数据库表名和字段名时,如何选择数据,delphi,ms-access,delphi-xe,ms-access-2000,Delphi,Ms Access,Delphi Xe,Ms Access 2000,我正在使用delphi和access数据库。我使用关键字作为表名和字段名。 例如:用户\日期\密码。 如何从delphi访问它? 下面是我试过的代码。当我在Access中运行它时,它正在工作。但同样的查询不能从delphi运行。它表示查询中存在语法错误 select * from "User" select * from User 试试这个: select * from [user] 也许您可以阅读此链接: 您的意思是表名是保留字?

我正在使用delphi和access数据库。我使用关键字作为表名和字段名。 例如:用户\日期\密码。 如何从delphi访问它? 下面是我试过的代码。当我在Access中运行它时,它正在工作。但同样的查询不能从delphi运行。它表示查询中存在语法错误

select * from "User"
select * from User
试试这个:

select * from [user]
也许您可以阅读此链接:

您的意思是表名是保留字?