Home | Previous Page | Next Page   Data Manipulation > Using Smart Large Objects > Accessing a Smart Large Object >

Opening a Smart Large Object

You can open a smart large object with one of the following functions:

These functions open the smart large object in a particular open mode, which in turn determines the lock mode of the smart large object. When you open a smart large object with the mi_lo_copy( ), mi_lo_create( ), mi_lo_expand( ), or mi_lo_open( ) function, you tell the database server the open mode for the smart large object in either of the following ways:

Tip:
The mi_lo_from_file( ) function does not require an open mode for the smart large object it creates. It always opens a smart large object in read/write access mode. The smart-large-object optimizer determines which method of access is most efficient (buffered I/O or lightweight I/O).

All these open functions return an LO file descriptor, through which you can access the data of a smart large object as if it were in an operating-system file.

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