Advantage Client Engine
Sets the collation language used by the statement handle.
UNSIGNED32 |
AdsStmtSetTableCollation ( ADSHANDLE hConnect, UNSIGNED8 *pucCollation ); |
hStatement (I) |
Handle of an SQL statement created by a call to AdsCreateSQLStatement. |
pucCollation (I) |
The collation language to set on the statement handle. See dynamic collation support. |
AdsStmtSetTableCollation sets the collation language used by a statement handle when creating or opening ADS_ADT or ADS_VFP tables. For all other table types, the statement collation language setting has no effect.
ulRetCode = AdsConnect60( "D:\\data", ADS_REMOTE_SERVER, NULL, NULL, 0, &hConnect )
ulRetCode = AdsCreateSQLStatement( hConnect, &hStmt );
ulRetCode = AdsStmtSetTableCollation( hStmt, "GERMAN_VFP_CI_AS_1252" );
See Also