informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

rtypname()

The rtypname() function returns a null-terminated string that contains the name of the specified SQL data type.

Syntax

The rtypname() function converts a constant for an Informix SQL data type (which sqltypes.h defines) to a character string.

Return Codes

The rtypname function returns a pointer to a string that contains the name of the data type specified sqltype. If sqltype is an invalid value, rtypname() returns a null string (" ")

Example

This sample program is in the rtypname.ec file in the demo directory.

For a complete listing of the exp_chk() function, see Guide to the exp_chk.ec File or refer to the exp_chk.ec file for a listing of this exception-handling function.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved