Returns the number of columns in a COMPUTE clause row.
SqlNumAlts% ( sqlconn%, computeid% )
where
The number of columns for a particular computeid%. If computeid% is invalid,
-1 is returned.
Call this function after SqlResults% returns SUCCEED.
In the following example, SqlNumAlts%(sqlconn%, 1) returns 3:
select dept, year, sales from employee order by dept, year compute avg(sales), min(sales), max(sales) by dept
SqlAData$, SqlADLen&, SqlAltLen%, SqlAltType%, SqlGetRow%, SqlNextRow%, SqlResults%