Vlad Khorsun a écrit :
> 28.04.2023 9:16, Norbert Saint Georges wrote:
>> This operation is not defined for system tables.
>> unsuccessful metadata update.
>> DROP INDEX PK_RM_CUSTOMERS_BUSINNESID_HISTORY failed.
>> arithmetic exception, numeric overflow, or string truncation.
>> string right truncation.
>> expected length 31, actual 34.
>> <Missing arg #1 - possibly status vector overflow>.
>> -------------------------------------------------------------
>> SQLCODE: -607
>> SQLSTATE: 22001
>> GDSCODE: 335544351
>
> Could you run it with isql to see whole status-vector ?
"
SET STATISTICS INDEX PK_RM_CUSTOMERS_BUSINNESID_HISTORY;
Statement failed, SQLSTATE = 22001
unsuccessful metadata update
-ALTER INDEX PK_RM_CUSTOMERS_BUSINNESID_HISTORY failed
-arithmetic exception, numeric overflow, or string truncation
-string right truncation
-expected length 31, actual 34
-At trigger 'TRIG_DDL_LOG_BEFORE' line: 8, col: 2
"
this one is an intruder "TRIG_DDL_LOG_BEFORE" :-)
>> In this case, how to solve the problem?
>
> First, it should be reproducible
on the latest version of FB, with a new DB, no.
on the latest version of FB and a backup/restore of the DB that
revealed the problem, yes :-)