dbprtype

Description

Convert a token value to a readable string.

Syntax

char    *dbprtype(token)
int         token;

Parameters

token

The server token value (SYBCHAR, SYBFLT8, and so on) returned by dbcoltype, dbalttype, dbrettype, or dbaltop.

Returns

A pointer to a null-terminated string that is the readable translation of the token value. The pointer points to space that is never overwritten, so it is safe to call this routine more than once in the same statement. If the token value is unknown, the routine returns a pointer to an empty string.

Usage

See also

dbaltop, dbalttype, dbcoltype, dbrettype, Types