These routines can be called after dbsqlexec returns SUCCEED:
DBROWTYPE – indicates whether the current result row is a regular row or a compute row.
dbnumcompute – returns the number of compute clauses in the current set of results.
dbnumalts – returns the number of columns in a compute row.
dbbylist – returns the bylist for a compute row.
dbaltop – returns the type of aggregate operator for a compute column.
dbalttype – returns the datatype for a compute column.
dbaltlen – returns the maximum length for a compute column’s data.
dbaltcolid – returns the column ID for a compute column.
dbadlen – returns the actual length of a compute column’s data. This routine is often used in conjunction with dbadata. The value returned by dbadlen is different for each compute row read by dbnextrow.