Compute Result Column Information

These functions can be called after dbnextrow or dbgetrow returns a compute ID.

Function Description
dbadlen Returns the actual length of a compute column’s data. This function is often used together with dbadata. The value returned by dbadlen can differ for each compute row read by dbnextrow.
dbaltcolid Returns the column ID for a compute column.
dbaltlen Returns the maximum length for a compute column’s data.
dbaltop Returns the type of aggregate operator for a compute column.
dbalttype Returns the data type for a compute column.
dbaltutype Returns the user-defined data type for a compute column.
dbbylist Returns the bylist for a compute row.
dbnumalts Returns the number of columns in a compute row.
dbnumcompute Returns the number of COMPUTE clauses in the current set of results.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.