Advantage Client Engine
Gets the collation language that the index was created or opened with.
UNSIGNED32 |
AdsStmtGetIndexCollation ( ADSHANDLE hIndex, UNSIGNED8 *pucCollation, UNSIGNED16 *pusLen ); |
hIndex (I) |
Handle of an index order. |
pucCollation (O) |
Return the collation language in this buffer. See dynamic collation support. |
pusLen (I/O) |
Length of given buffer on input, length of returned data on output. |
AdsGetIndexCollation returns the collation language the index was created or opened with. When an index is opened or created, it inherits the collation language used by the table it belongs to.
usLen = sizeof( aucCollation );
ulRetCode = AdsGetIndexCollation( hIndex, aucCollation, &usLen );
See Also