1. To convert the INTEGER Data Type database field:
- Use the Data Dictionary tool to update the field definition, via the "-> int64" button presented on the UI for all Integer fields.
- This is the only data type change that can be done without adding a new field of the required data type, since the storage format for INTEGER and INT64 is in fact the same.
2. To make sure the application recognizes the change:Recompile the code that has static references to the affected table. Failing to do so may still allow the code to run, but it will assume the field is still an INTEGER type. That will lead to error "
Value <value> too large to fit in INTEGER datatype. (13682)" or "
Value <value> too large to fit in INTEGER. Line <line> in <procedure>. (15747)" when trying to read the larger values from the database.
While it's possible to make the necessary changes online, to avoid side effects it may be preferable to take the environment offline while deploying the new code.
For further methods and considerations when converting a database field Data Type from INT to INT64 refer to Article
Progress INTEGER and INT64 data types