IBM Books

Image, Audio, and Video Extenders Administration and Programming

NumVideoTracks


Image Audio Video
    X

Returns the number of video tracks in a video.

Include file

dmbvideo.h

Syntax

>>-NumVideoTracks--(--handle--)--------------------------------><
 

Parameters (data type)

handle (DB2VIDEO)
Column name or host variable that contains the handle of the video.

Return values (data type)

Number of video tracks (SMALLINT)

Examples

Get the file name of all videos from the video column of the employee table that have more than one video track:

EXEC SQL BEGIN DECLARE SECTION;
 char hvVid_fname[251];
EXEC SQL END DECLARE SECTION;
 
EXEC SQL SELECT FILENAME (VIDEO)
     INTO :hvVid_fname
     FROM EMPLOYEE
     WHERE NUMVIDEOTRACKS(VIDEO) > 1;


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]