informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_lo_colinfo_by_name()

The mi_lo_colinfo_by_name() function sets the fields of an LO-specification structure to the column-level storage characteristics for a specified database column.

Syntax

Usage

The mi_lo_colinfo_by_name() function sets the fields of the LO-specification structure that LO_spec references to the storage characteristics for the column_spec database column. If this specified column does not have column-level storage characteristics defined for it, the database server uses the storage characteristics that are inherited.

The column_spec buffer must specify the column name in the following format:

In the preceding format, the database and server_name arguments are optional. The following column specifications are all valid:

If the column is in a database that is ANSI compliant, you can also include the owner name, as follows:

Return Values

MI_OK indicates that the function was successful; LO_spec points to the LO-specification structure with the storage characteristics of column_spec.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_lo_colinfo_by_ids() and mi_lo_spec_init().

For more information, see Choosing Storage Characteristics.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved