Subject EXECUTE STATEMENT with long string
Author Tim Ward
Would I be right in thinking that if I've got an EXECUTE STATEMENT in a
stored procedure, and the statement to be executed (which is put
together from various parts using ||) now needs to be (potentially)
longer than the maximum length of a VARCHAR, then I've got to find some
other way of doing it? (Eg rewriting the stored procedure in PHP.)

Tim Ward