Reserved Words |
Top Previous Next |
The words OPTIONS and STARTDATA-whether in upper or lower case or as quoted identifiers-are reserved for dbFile and may not be used in the SQL statements that you pass to the application. Ideally, if you know at design time that you need to use dbFile to load or unload data, it is advisable to avoid creating columns that have these names. If columns already exist that use these names, you may use ALTER TABLE statements to rename the problem columns and add COMPUTED BY columns with the original names to duplicate the data from the renamed ones. NOTE :: an alternative is to retain the original columns and create the computed columns for dbFile operations. However, for loading data, you will need to write BEFORE INSERT OR UPDATE triggers to ensure that the "Attempted update of read-only column" exception (code 335544359, gdscode read_only_field) is caught and handled by diverting the write to the real column. |