Skip to main content
Previous section   Next section

ReturnResultsets

Specifies whether this method returns result sets (so that ODBC and JDBC clients can retrieve them).

Usage

To specify that the method returns at least one result set, use the following syntax:

ClassMethod name(formal_spec) As returnclass [ ReturnResultsets, SqlName = CustomSets, SqlProc ]  
{    //implementation }
Copy code to clipboard

Otherwise, omit this keyword or place the word Not immediately before the keyword.

Details

This keyword specifies that the method returns at least one result set. Set this keyword to true if the method might return one or more result sets. If you do not, then the result sets cannot be retrieved by xDBC clients.

For a stored function, either specify Not ReturnResultsets or do not specify this keyword.

Default

If you omit this keyword, result sets cannot be retrieved by xDBC clients.

See Also