Returns the maximum length of the data in a compute column.
SqlAltLen% ( sqlconn%, computeid%, column% )
where
The maximum number of bytes that the data can be in a particular column in a COMPUTE clause. When no such column or COMPUTE clause exists, -1 is returned.
In the following example, SqlAltLen%(sqlconn%, 1, 1) returns 11 because COUNT is an int datatype, which is 11 bytes long:
select dept, name from employee order by dept, name compute count(name) by dept
SqlAData$, SqlADLen&, SqlAltType%, SqlGetRow%, SqlNextRow%, SqlNumAlts%