Image | Audio | Video |
---|---|---|
X |
Enables a column for video (DB2Video 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 and the user table must be committed.
Authorization
Control, Alter, SYSADM, DBADM
Use privilege is also required on table spaces and buffer pools specified in the API parameters.
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbvideo.lib | libdmbvideo.a (AIX) |
| libdmbvideo.sl (HP-UX) |
| libdmbvideo.so (Solaris) |
Include file
dmbvideo.h
Syntax
long DBvEnableColumn( char *tableName, char *colName, );
Parameters
Error codes
Examples
Enable the video column in the employee table for video:
#include <dmbvideo.h> rc = DBvEnableColumn("employee", "video");