The ifx_lo_specset_maxbytes() function

The ifx_lo_specset_maxbytes() function sets the maximum number of bytes in a smart-large-object specification structure.

Syntax

ifx_lo_specset_maxbytes(lospec, maxbytes)

Arguments

The function accepts the following arguments.
Argument Type Use Description
lospec SQL_INFX_UDT_FIXED Input Smart-large-object specification structure
maxbytes SQL_BIGINT Input Maximum size of the smart large object, in bytes. This value cannot exceed 2 gigabytes. Instead of using the default HCL OneDB™ ODBC Driver C data type of SQL_C_CHAR for maxbytes, use SQL_C_LONG or SQL_C_SHORT.

Usage

The ifx_lo_specset_maxbytes() function sets the maximum number of bytes in a smart-large-object specification structure.