Deleting a QBIC catalog deletes all the feature data in the catalog tables. As a result, the associated images are no longer available for querying by content. To delete a QBIC catalog, you must have ALTER or CONTROL authority for the table associated with the catalog. The catalog must be open before you delete it.
Use the QbDeleteCatalog API or DELETE QBIC CATALOG command to delete a QBIC catalog.
When you delete a QBIC catalog, name the user table and column associated with the catalog.
Using the API: In the following example, the QbDeleteCatalog API is used to delete a QBIC catalog:
rc=QbDeleteCatalog( "employee", /* user table */ "picture"); /* image column */
Using the command line: The DELETE QBIC CATALOG command acts on the currently open catalog. In the following example, the command is used to delete the currently open QBIC catalog:
DELETE QBIC CATALOG employee picture