IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbDeleteCatalog


Image Audio Video
X    

Deletes the specified catalog from the current database.

Authorization

Alter

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbqbapi.lib libdmbqbapi.a (AIX)

libdmbqbapi.sl (HP-UX)

libdmbqbapi.so (Solaris)

Include file

dmbqbapi.h

Syntax

SQLRETURN QbDeleteCatalog(
      char *tableName,
      char *columnName
      );

Parameters

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

columnName (in)
The name of the image column associated with the catalog.

Error codes

qbicECIvalidHandle
The catalog handle is not valid.

qbicECCatalogInUse
The catalog was being used by someone else.

qbicECCatalogRO
The catalog is read-only.

qbicECSystem
A system error occurred.

qbicECSqlError
An SQL error occurred.

Examples

Delete the QBIC catalog associated with the picture column in the employee table:

#include <dmbqbapi.h>
 
rc=QbDeleteCatalog("employee", "picture");


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