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

后端 未结 4 621
悲哀的现实
悲哀的现实 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:01

    You normally need to quote the field name in this case. For example:

    select * from t1 where "street 1" = 'test';

    I tried this on a paradox 7 table and it worked. If that doesn't help, can you post the query you are trying to use? It would be easier to help with that info.

提交回复
热议问题