>Actually, you don't need more than one variable, you can keep on adding to the same variable. But still Text-Endtext is better.
And you can return more than one cursor (which people usually forget). I got some pieces of code where I send a string containing a very long series of SQL commands, which returns between 11 and 23 cursors in one go.