> But, how that variable ended there? The SP is actually working, and I can get > the DDL with 33 char lenght variable name.
>Could be a previous FB bug? Almost certainly. The bad variable name could have existed for years, only a change to the DDL/SP text would have caused the text to be re-validated. (database restores do not re-validate the SP or Trigger text, or calculate new BLR, they are restored untouched/as is) Sean