Hi Scott;
Most DBMS's will not let you do that in a SF.
FYI: Sybase ASE ... The query returns the name of the cursor in a Function, it does not output the rows of the result set.
Curiosity: Which DBMS ones are you referring to that will allow SF's to return RS's?
Regards .. Chris