ReturnResultsets
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 }
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
-
“Method Definitions” in this book
-
“Defining and Calling Methods” in Using Caché Objects
-
“Defining Stored Procedures” in Using Caché SQL
-
“Stored Functions” in Using Caché SQL
-
“Defining Method and Trigger Generators” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects