Image, Audio, and Video Extenders Administration and Programming
"Cleans up" image-related metadata tables, for example:
- Reclaims space that is no longer used in image metadata tables
- Deletes references in image metadata tables to image files that no longer
exist
The application must be connected to a database before calling this
API.
Authorization
Alter, Control, SYSADM, SYSCTRL, SYSMAINT, DBADM
Library file
OS/2 and Windows
| AIX, HP-UX, and Solaris
|
dmbimage.lib
| libdmbimage.a (AIX)
|
| libdmbimage.sl (HP-UX)
|
| libdmbimage.so (Solaris)
|
Include file
dmbimage.h
Syntax
long DBiReorgMetadata(
char *tableName
);
Parameters
- tableName (in)
- A qualified, unqualified, or null table name. If a table name is
specified, clean up is performed for image metadata tables associated with the
specified user table. If a null value is specified, metadata tables for
image columns in all tables that are owned by the current user ID are cleaned
up.
Error codes
- MMDB_SUCCESS
- API call processed successfully.
- MMDB_RC_NO_AUTH
- Caller does not have the proper access authority.
- MMDB_RC_NOT_CONNECTED
- Application does not have valid connection to a database.
Examples
Clean up the metadata tables for image columns in the employee table:
#include <dmbimage.h>
rc = DBiReorgMetadata("employee");
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]