Creating a smart large object
About this task
Perform the following steps to create a smart large object:
Procedure
- Allocate an LO-specification structure with the ifx_lo_def_create_spec() function.
- Ensure that the LO-specification structure contains the desired storage characteristics for the new smart large object.
- Create an LO-pointer structure for the new smart large object and open the smart large object with the ifx_lo_create() function.
- Write the data for the new smart large object to the open smart large object with the ifx_lo_write() or ifx_lo_writewithseek() function.
- Save the new smart large object in a column of the database.
- Deallocate the LO-specification structure with the ifx_lo_spec_free() function.