IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBiDisableTable


Image Audio Video
X    

Disables a table for images (DB2Image data) so that it cannot hold image data. All columns in the table that is defined for DB2Image are also disabled. Some of the metadata that is defined by the Image Extender for the table is dropped. All QBIC catalogs that are associated with the image columns in the table are also deleted. New rows can be inserted into tables that are defined with type DB2Image, but there is no metadata (in the administrative support tables) associated with the new rows. The application must be connected to a database before calling this API.

Authorization

Control, Alter, SYSADM, 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 DBiDisableTable(
      char *tableName
      );

Parameters

tableName (in)
The name of the table that contains an image column.

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

Disable the employee table for images (DB2Image data):

#include <dmbimage.h>
 
rc = DBiDisableTable("employee");


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