3 #if wxUSE_DATABASE_ODBC 16 SQLTCHAR col_name[8192];
17 SQLSMALLINT col_name_length;
18 SQLSMALLINT col_data_type;
20 SQLSMALLINT col_decimal_digits;
21 SQLSMALLINT col_nullable;
23 memset(col_name, 0, 8192);
26 8192, &col_name_length, &col_data_type, &col_size, &col_decimal_digits, &col_nullable );
28 if ( nRet != SQL_SUCCESS )
31 switch (col_data_type)
51 case SQL_WLONGVARCHAR:
57 case SQL_LONGVARBINARY:
62 case SQL_TYPE_TIMESTAMP:
77 SQLTCHAR col_name[8192];
78 SQLSMALLINT col_name_length;
79 SQLSMALLINT col_data_type;
81 SQLSMALLINT col_decimal_digits;
82 SQLSMALLINT col_nullable;
84 memset(col_name, 0, 8192);
87 8192, &col_name_length, &col_data_type, &col_size, &col_decimal_digits, &col_nullable );
89 if ( nRet == SQL_SUCCESS )
99 SQLTCHAR col_name[8192];
100 SQLSMALLINT col_name_length;
101 SQLSMALLINT col_data_type;
103 SQLSMALLINT col_decimal_digits;
104 SQLSMALLINT col_nullable;
106 memset(col_name, 0, 8192);
109 8192, &col_name_length, &col_data_type, &col_size, &col_decimal_digits, &col_nullable );
111 if ( nRet == SQL_SUCCESS )
122 SQLSMALLINT col_count;
126 if ( nRet == SQL_SUCCESS )
132 #endif//wxUSE_DATABASE_ODBC
SQLDescribeColType GetSQLDescribeCol()
SQLNumResultColsType GetSQLNumResultCols()
virtual wxString ConvertFromUnicodeStream(const char *inputBuffer)