StoneKeeper
New Member
hi there,
here, i have two production db's. They should have same structure (both are progress 10.1C). After a differential i got a lot of this:
e.g.
UPDATE FIELD "email" OF adresse
DECIMALS 0
.. for many character fields.
After researching i found, that in _field table somethimes decimals for char fields is 0 and somethimes it is ?
So i tried to create a complete new character field in the data dictionary -> the decimal value is ? - so i guess this is right.
Loading the above mentioned definitions is not possible because of following message:
**MODIFY FIELD xxx caused a warning **
Can't change Decimals of field "xxx". Field type is not DECIMAL.
Question now is: can i update table _fields where decimals = 0 and set this to ?
Must we recompile all source codes after this update?
Is there another way to fix this - i know, update the internal tables is never a good idea!
ps: I could imagine, that this bad situation is a result from converting progress db's 8 to 9 and then 10!
regards
Horst
here, i have two production db's. They should have same structure (both are progress 10.1C). After a differential i got a lot of this:
e.g.
UPDATE FIELD "email" OF adresse
DECIMALS 0
.. for many character fields.
After researching i found, that in _field table somethimes decimals for char fields is 0 and somethimes it is ?
So i tried to create a complete new character field in the data dictionary -> the decimal value is ? - so i guess this is right.
Loading the above mentioned definitions is not possible because of following message:
**MODIFY FIELD xxx caused a warning **
Can't change Decimals of field "xxx". Field type is not DECIMAL.
Question now is: can i update table _fields where decimals = 0 and set this to ?
Must we recompile all source codes after this update?
Is there another way to fix this - i know, update the internal tables is never a good idea!
ps: I could imagine, that this bad situation is a result from converting progress db's 8 to 9 and then 10!
regards
Horst