skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getFirstView
 

dam_getFirstView

This function gets the first view from all currently active views.
int dam_getFirstView(
DAM_HDBC hdbc,
char * pTableQualifier,
char * pTableOwner,
char * pTableName)
Table 120. Parameters for dam_getFirstView
Parameter
Type
Description
IN
hdbc
DAM_HDBC
Connection handle.
OUT
pTableQualifier
char *
Qualifier name. Pass in a buffer of 128 characters.
pTableOwner
char *
Owner name. Pass in a buffer of 128 characters.
pTableName
char *
View name. Pass in a buffer of 128 characters.
RETURN
int
DAM_SUCCESS - on success
DAM_FAILURE - on failure
DAM_NO_DATA_FOUND - no views exist