Home | Previous Page | Next Page   Client Functions > Functions for Smart Large Objects >

ifx_lo_specset_maxbytes()

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 Informix ODBC Driver C data type of SQL_C_CHAR for maxbytes, use SQL_C_LONG or SQL_C_SHORT. For more information, see SQL_BIGINT.

Usage

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

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]