Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Token?

Status
Not open for further replies.

jiminy

Technical User
Jan 26, 2002
30
US
What, in SQL lingo is a Token? I get references to it in some error messages.
 
jiminy,

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.

Hope this helps...

-- Lance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top