Subject Re: [ib-support] Implementation limit exceeded
Author Svein Erling Tysvær
you say that your script alter several SPs. This is DDL and not DML. I
think you can do maximum 128 (or was is 255?) changes to any object through
DDL before you get an error message like yours.

The solution? Do a backup and restore - and use these kinds of scripts with
care (they should only be used for real changes to your database - and not
to turn some features on or off).