Returning result sets from Transact-SQL procedures

SQL Anywhere uses a RESULT clause to specify returned result sets. In Transact-SQL procedures, the column names or alias names of the first query are returned to the calling environment.

 Example of a Transact-SQL procedure
 Example of a Watcom SQL procedure
 See also