Delphi: Paradox DB Field Name Issue (Spaces in field name)

后端 未结 4 616
悲哀的现实
悲哀的现实 2020-12-20 18:44

I have a paradox table from a legacy system I need to run a single query on. The field names have spaces in them - i.e. \"Street 1\". When I try and formulate a query in d

4条回答
  •  抹茶落季
    2020-12-20 19:15

    You need to prefix the string with the table name in the query.

    For example: field name is 'Street 1', table is called customers the select is:

    SELECT customers."Street 1" FROM customers WHERE ...
    

提交回复
热议问题