skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getFirstComment/dam_getFirstCommentW
 

dam_getFirstComment/dam_getFirstCommentW

This function is used to navigate the comments in the query. It gets the first comment in the query. Use the function dam_getNextComment/dam_getNextCommentW to go through the list.
char *dam_getFirstComment(
DAM_HSTMT hstmt)

OAWCHAR *dam_getFirstCommentW(
DAM_HSTMT hstmt)
Table 109. Parameters for dam_getFirstComment and dam_getFirstCommentW
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
char *
OAWCHAR *
The first comment string. Returns NULL if the query has no comments.

See also

*dam_getNextComment/dam_getNextCommentW