Subject RE: [firebird-support] EXECUTE STATEMENT limits
Author Rick Debay
> Perhaps you mix up quotes and double quotes in identifiers

Thanks, you figured it out. I was using double quotes instead of
single. Sometimes I have a hard time switching back and forth from Java
and DSQL :-(

________________________________

From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Dmitry Yemanov
Sent: Monday, February 23, 2009 1:33 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] EXECUTE STATEMENT limits



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




Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.