Array Requirements
Go Up to Additional Requirements
API functions that handle array processing require the use of an array descriptor structure and array IDs, defined in ibase.h. In addition, applications accessing arrays must make extensive use of API DSQL functions.
The following code illustrates how to declare an array descriptor and array ID variable, and how to initialize an array ID to zero before use:
#include <ibase.h> . . . ISC_ARRAY_DESC_V2 desc; ISC_QUAD array_id; . . . array_id = 0L; . . .
- Note: The
ISC_ARRAY_DESC_V2structure supports long metadata names of lengthMETADATALENGTH. The olderISC_ARRAY_DESCstructure supports only metadata names of 32 bytes or less.
For more information about working with arrays, see Working with Array Data.For more information about DSQL, see Working with Dynamic SQL.