Subject Unable to execute large text inside stored procedures.
Author Joje

Hello,

 

I have a stored procedure that takes  a parameter(a1) that has  length excess of 25k. Inside this stored procedure I have declared a variable with a query , when this parameter(a1) combined with variable total length exceeds 32k and  FB returns as error of concatenation.

 

Below is error returned by stored procedure

   “Concatenation overflow. Resulting string cannot exceed 32K in length.

 

I used BLOB SUB_TYPE 1 for parameter(a1) and variable in stored procedure. Then also I am getting this same error.

 

Thank you.