图象 | 音频 | 视频 |
---|---|---|
X |
对图象(DB2Image 数据)启用列。此 API 定义并管理此列与元数据表之间的关系。在调用此 API 之前,应用程序必须与数据库相连, 且必须落实用户表。
授权
控制、改变、SYSADM、DBADM
库文件
OS/2 和 Windows | AIX、HP-UX 和 Solaris |
---|---|
dmbimage.lib | libdmbimage.a (AIX) |
| libdmbimage.sl (HP-UX) |
| libdmbimage.so (Solaris) |
包含文件
dmbimage.h
语法
long DBiEnableColumn( char *tableName, char *colName, );
参数
错误码
例
对图象启用 Employee 表中的 picture 列:
#include <dmbimage.h> rc = DBiEnableColumn("Employee", "picture");