community.borland.com

Article #25443: Dynamic SQL Error: Token unknown

Problem:
InterBase version 4.0 and onwards, is pretty strict about the
usage of reserved words in any SQL statements..
When you try creating a table, whose table name or column name
happens to be a InterBase reserved word, you will get the
following error.....

      create table segment (
                            col1     char(12),
                            col2     char(12)) 

 Dynamic SQL Error
      -SQL error code = -104
      -Token unknown - line 1, char 13
      -segment  


Solution:
Make sure that you do not use any of the reserved words (Keywords)
listed in one of the Appendixes, in the Language Reference Guide, as a
part of the SQL statement, for table/col names... 

Last Modified: 26-OCT-00