Image | Audio | Video |
---|---|---|
X |
Determines whether a column has been enabled for audio (DB2Audio data). The application must be connected to a database before calling this API.
Authorization
SYSADM, DBADM, table owner, or SELECT privilege on the user table
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 DBaIsColumnEnabled( char *tableName, char *colName, short *status );
Parameters
Error codes
Examples
Determine if the sound column in the employee table is enabled for audio:
#include <dmbaudio.h> rc = DBaIsColumnEnabled("employee", "sound", &status);