-2

I am using delphi and access database. I used a keyword as a table name and field name. Ex : User \ Date \ Password. How can i access it from delphi? Below is the code i tried. It is working when i run it in Access. but same query can not run from delphi. it says syntax error in query.

select * from "User"
select * from User
Ishanka
  • 360
  • 4
  • 18

1 Answers1

2

try this :

select * from [user]

Maybe this link is something for you to read : https://support.office.com/en-us/article/Access-SQL-basic-concepts-vocabulary-and-syntax-444d0303-cde1-424e-9a74-e8dc3e460671

GuidoG
  • 11,359
  • 6
  • 44
  • 79