INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_large_object_create()

The mi_large_object_create() function creates an empty smart large object (BLOB or CLOB).

Syntax

Argument Values Used with BLOB and CLOB

conn

current connection descriptor

filename

NULL

flags

MI_LO_INTERNAL_LO

mode

NULL

smgs

MI_LO_DEFAULT_SMGR

asmgr

MI_LO_DEFAULT_SMGR or MI_LO_NOSMGR

Usage

Use mi_file_to_large_object() to create a smart large object and populate it with data.

Use mi_free() to free this handle when it is no longer needed.

Return Values

On success, returns a handle for the object; on failure, returns NULL.

Related Topics

See the descriptions of the following functions: mi_file_to_large_object(), mi_large_object_copy(), mi_large_object_create_opts(), and mi_large_object_info().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.