Image | Audio | Video |
---|---|---|
X |
Enables a column for audio (DB2Audio data). The API defines and manages relationships between this column and the metadata tables. Before calling this API, the application must be connected to a database. It is recommended that after calling this API you issue an SQL COMMIT statement.
Authorization
Control, Alter, SYSADM, DBADM
Use privilege is also required on table spaces and buffer pools that are specified in the API parameters.
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbaudio.lib | libdmbaudio.a (AIX) |
| libdmbaudio.sl (HP-UX) |
| libdmbaudio.so (Solaris) |
Include file
dmbaudio.h
Syntax
long DBaEnableColumn( char *tableName, char *colName, );
Parameters
Error codes
Examples
Enable the sound column in the employee table for audio (DB2Audio data):
#include <dmbaudio.h> rc = DBaEnableColumn("employee", "sound");