Subject Re: [firebird-support] EXECUTE STATEMENT limits
Author Dmitry Yemanov
Rick Debay wrote:

> I'm getting the error message "token size exceeds limit" when compiling
> a stored procedure containing
>
> FOR EXECUTE STATEMENT stringvalue
> INTO variable_list
> DO compound_statement
>
> Where stringvalue is about 3K, and consists of a large string constant
> with a table name concatenated. It works fine if I don't use EXECUTE
> STATEMENT, instead using FOR SELECT.

I suppose you concatenate them wrongly. This error is thrown only if
some DSQL token exceeds 256 bytes in length. Perhaps you mix up quotes
and double quotes in identifiers or something like that.


Dmitry