skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_describeTableCorrelationName/ dam_describeTableCorrelationNameW
 

dam_describeTableCorrelationName/ dam_describeTableCorrelationNameW

This function returns the correlation name (Alias Name) of the table being processed.
void dam_describeTableCorrelationName(
int hstmt,
char * pCorrelationName)

void dam_describeTableCorrelationNameW(
int hstmt,
OAWCHAR * pCorrelationName)
Table 91. Parameters for dam_describeTableCorrelationName/ dam_describeTableCorrelationNameW
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
OUT
pCorrelationName
char *
OAWCHAR *
The table alias name in the query. If alias name is not explicitly specified in the query, an empty string is returned. Pass in a buffer of 128 characters.