NexusDB Field with spaces ADO SQL

190 views Asked by At

I can't figure out which syntax to use for fields in my NexusDB that have spaces in them. I've tried the usual things like: [ ] `` but none of these work, the query just errors. So an example query might be:

select `offical name` from MyTable
select [official name] from MyTable

(these do not work)

Thanks,

Karl..

1

There are 1 answers

1
Thorsten Engler On BEST ANSWER

The delimiter for delimited identifiers according to ISO 9075 (aka the SQL standard) is a double quote. Which is what NexusDB implementes:

select "official name" from MyTable