Image | Audio | Video |
---|---|---|
X |
Opens the QBIC catalog for a specific image column. You can open the catalog in read mode or update mode. The API returns a handle for the opened catalog. You then use the handle in other APIs to manage and populate the catalog.
Make sure you close the catalog after you are finished with it.
Authorization
None
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 QbOpenCatalog( char *tableName, char *columnName, SQLINTEGER mode, QbCatalogHandle *cHdl );
Parameters
Error codes
Examples
Open the catalog for the picture column in the employee table in read mode:
#include <dmbqbapi.h> rc=QbOpenCatalog("employee", "picture", qbiread, &CatHdl);