AdsStmtSetTableCharType
Define o tipo de caracteres para tabelas acessadas por uma instrução SQL.
Sintaxe
UNSIGNED32 AdsStmtSetTableCharType(ADSHANDLE hStatement, UNSIGNED16 usCharType);
Parâmetros
| Parâmetro | Tipo | Descrição |
|---|---|---|
hStatement |
ADSHANDLE |
Handle da instrução SQL. |
usCharType |
UNSIGNED16 |
Tipo de caracteres (ADS_ANSI ou ADS_OEM). |
Valor de Retorno
AE_SUCCESS (0) em caso de sucesso. Código de erro se falhar.
Descrição
AdsStmtSetTableCharType define o tipo de caracteres que será usado para tabelas acessadas pela instrução SQL. ADS_ANSI (1) usa a tabela de caracteres ANSI, enquanto ADS_OEM (2) usa a tabela de caracteres OEM.
Exemplo
AdsStmtSetTableCharType(hStatement, ADS_ANSI);