Home | Previous Page | Next Page   Large Object Locator DataBlade Module > Functions >

Working with Large Objects

This section describes functions that allow you to:

Generally, you use the functions described in this section in the following order.

  1. You use lld_create() to create a large object. It returns a pointer to an lld_locator row that points to the large object.

    If the large object already exists, you can insert an lld_locator row into a table in the database to point to the object without calling lld_create().

  2. You can pass the lld_locator type to the lld_open() function to open the large object you created. This function returns an LLD_IO structure that you can pass to various Large Object Locator functions to manipulate data in the open object (see Step 3).

    You can also pass the lld_locator type to the lld_copy(), lld_from_client(), or lld_to_client() functions to copy the large object.

  3. After you open a large object, you can pass the LLD_IO structure to:

Tip:
To delete a large object, you can pass the lld_locator row to lld_delete() any time after you create it. For example, if the transaction in which you created the object is aborted and the object is not a smart large object, you should delete the object because the server's rollback on the transaction cannot delete an object outside the database.

The functions within this section are presented in alphabetical order, not in the order in which you might use them.

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