Image, Audio, and Video Extenders Administration and Programming
"Cleans up" image-related metadata tables:
- 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
SYSADM, SYSCTRL, SYSMAINT
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 DBiAdminReorgMetadata(
char *qualifier
);
Parameters
- qualifier (in)
- A valid user ID or a null value. If a user ID is specified, all
tables with the specified qualifier are cleaned up. If a null value is
specified, all tables in the current database 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.
- MMDB_RC_NO_AUTH
- User does not have proper authority to call this API.
Examples
Clean up the metadata tables for image columns in tables that are owned by
user ID rsmith:
#include <dmbimage.h>
rc = DBiAdminReorgMetadata("rsmith");
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]