In less structured terms, a token is simply a text string that has meaning to the processor, e.g. there are six tokens in the following query:
select distinct * from "customer.db" c
The term comes from the process that breaks the words of the query text into separate elements (tokens) that can be evaluated for meaning, based on the content and context of the query itself.
When you receive token errors from your queries, it generally means that there's a typo or other syntax error preventing the parser from understanding what you're after.
In my experience, many of these are fixed by wrapping certain tokens in quotation marks, typically references to table names, field names, or criteria values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.