Returns the number of COMPUTE clauses in the current set of results.
SqlNumCompute% ( sqlconn% )
where
The number of COMPUTE clauses in the current results set.
Call SqlNumCompute% after SqlResults% returns SUCCEED.
In this example, SqlNumCompute%(sqlconn%) returns 2 because there are two COMPUTE clauses in the SELECT statement:
SELECT dept, name FROM employee ORDER BY dept, name COMPUTE COUNT(name) BY dept COMPUTE COUNT(name)