Returns the user-defined data type for a compute column.
DBINT dbaltutype (
INT column );
Is the DBPROCESS structure that is the handle for a particular workstation or Microsoft® SQL Server™ 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
Is the ID that identifies the COMPUTE clause. A SELECT statement can have multiple COMPUTE clauses, which can have varying numbers of aggregate operators and aggregate targets. The computeid is returned by dbnextrow or dbgetrow.
Is the number of the column. The first column is number 1.
The user-defined data type of the specified compute column on success and -1 on error.
This function is defined as type DBINT, because both the DB-Library data type DBINT and user-defined data types are 32 bits long. Call dbaltutype only after dbnextrow or dbgetrow returns a computeid.