I am interested in this functionality, too. It seems that a user-defined SQL function (and I assume a stored procedure, too?) that returns a value doesn't return it to standard output, because it's not getting captured by VC (no errors, though). I tried setting the Return variable to a VisualCron variable, (the standard output one, in fact), but that didn't work, either.
I just tried it with a user-defined function because that's a DB object I happened to have handy that wouldn't screw anything up by executing; I'm actually interested in it for a stored procedure that would have some effects in the database and return a value as well. I'm primarily interested in teh Returned value, not an Output variable. I would have thought the Returned value would go to standard output. Oh, well. In the meanwhile, I'm just writing my SQL query that I need the output from as a text query.
Rebeccah