INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

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:

    The mi_lo_colinfo_by_name() function assumes that the employee table resides in the specified database that is managed by the current database server.

    The mi_lo_colinfo_by_name() function assumes that the employee table resides in the database that is currently open and that is managed by the current database server.

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

Return Values

MI_OK

The function was successful; LO_spec points to the LO-
specification structure with the storage characteristics of column_spec.

MI_ERROR

The function was not successful.

Related Topics

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

In Chapter 3, "Handling Smart Large Objects," see "Choosing Storage Characteristics".




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.