Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_describeColResAlias

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method is used to get the result column alias description for the specified column. You must set up buffers of at least DAM_MAX_ID_LEN+1 for the identifier names returned by this method. Pass in NULL for any attributes you do not want.

To get the first result column alias description, pass 1 for bFirst. Then, pass 0 for bFirst to get the next result column alias descriptions.

int dam_describeColResAlias(
int64 hstmt,
int64 hcol,
StringBuilder pAliasName,
int bFirst,
out int64 phcolAlias)

Parameters for dam_describeColResAlias

Parameter Type Description
IN    
hstmt int64 The statement handle
hcol int64 The column handle
bFirst int Pass in 1 to get the first alias and 0 to get the next alias.

OUT
   
pAliasName StringBuilder The result alias name
phColAlias int64 The result alias column handle. This column handle should be used when IP returns value for the result column using dam_addColAliasxxxValToRow.

RETURN
   
  int DAM_SUCCESS – on success
DAM_FAILURE – on failure
DAM_NOT_AVAILABLE – when no result columns match the input column handle.

See also

TitleResults for “How to create a CRG?”Also Available inAlert