skip to main content
SQL Engine Parse Tree API : SQL Engine Parse Tree functions reference : damex_getTable/damex_getTableW
 

damex_getTable/damex_getTableW

This function returns the table handle that matches the given table name in the FROM clause of the SELECT query.
DAM_HTABLE damex_getTable(
    DAM_HSTMT hstmt,
    char * sTableName)

DAM_HTABLE damex_getTableW(
    DAM_HSTMT hstmt,
    OAWCHAR * sTableName)
Table 230. Parameters for damex_getTable/damex_getTableW
Parameter
Type
Description
IN
hquery
DAM_HQUERY
The query handle.
sTableName
char *
OAWCHAR *
The name of the table.
RETURN
DAM_HTABLE
The handle to the table.
A NULL is returned if the table does not exist.