Hi,
I have an SQL task set up to run a text script against an Oracle database.  The script is basically in this form:
DECLARE
     <insert my variables here>
BEGIN
     <do a whole bunch of stuff here>
END;
The script runs fine, but part of the code between the BEGIN and END statements involves constructing a string containing a log of what happened during the run. I'm not sure how to get it to return that string. Oracle won't let me simply use a RETURN statement because this isn't a function, and it doesn't like when I do 
 (where vMsg is my variable holding the result string). 
Any thoughts on how I can get this string out of Oracle and into VC, 
without having to write the string to the database? I had thought about writing it to a MSG_LOG table and then doing something like 
SELECT my_msg FROM msg_log
, which I think would appear in the VC StdOut variable or something, but I'd rather not have to write the message to the database if I can avoid it.
Thanks.