Image | Audio | Video |
---|---|---|
X |
Returns a list of table entries that refer to a specified file. The application must be connected to a database before calling this API.
It is important that you free up the resources that are allocated by this API after calling it. Specifically, you must free up the filelist data structure as well as the filename field in each entry in the filelist.
Authorization
SELECT privilege on enabled audio columns in all searched user tables and associated administrative support tables
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 DBaIsFileReferenced( char *tableName, char *fileName, long *count, FILEREF *(*tableList) );
Parameters
Error codes
Examples
List the entries in audio columns of the employee table that refer to file /audios/ajones.wav:
#include <dmbaudio.h> long idx; rc = DBaIsFileReferenced(NULL, "/audios/ajones.wav", &count, &tableList);