Open
Description
Submitted by: @WarmBooter
Votes: 3
If you try to change the size of a VARCHAR domain being used in [composite] Primary Keys, Firebird complains like:
This operation is not defined for system tables.
unsuccessful metadata update.
MODIFY RDB$FIELDS failed.
action cancelled by trigger (1) to preserve data integrity.
Cannot update index segment used by an Integrity Constraint.
Vlad told me that indexes doesn't mind about var(char) field size, so this rule could be "relaxed".