skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_describeColResAlias
 

dam_describeColResAlias

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)
 
Table 105: 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 

dam_addColAliasxxxValToRow