The ifx_lo_specget_estbytes() function

The ifx_lo_specget_estbytes() function gets the estimated number of bytes from a smart-large-object specification structure.

Syntax

ifx_lo_specget_estbytes(lospec, estbytes)

Arguments

The function accepts the following arguments.
Argument Type Use Description
lospec SQL_INFX_UDT_FIXED Input Smart-large-object specification structure
estbytes SQL_BIGINT Output Estimated final size of the smart large object, in bytes. This estimate is an optimization hint for the smart-large-object optimizer. Instead of using the default Informix® ODBC Driver C data type of SQL_C_CHAR for estbytes, use SQL_C_LONG.

Usage

The ifx_lo_specget_estbytes() function gets the estimated number of bytes from a smart-large-object specification structure.