If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
The SPL routine is send to the dbserver as one big sql statement. You are hiting the limit of this (I thought it was 32 kb, but it could be bigger on newer versions??). Easiest solution, split your procedure into several smaller ones.