BUG: SQLColAttribute Reports Base Type on Aggregate FunctionLast reviewed: April 8, 1997Article ID: Q143227 |
The information in this article applies to:
SYMPTOMSIf an ODBC application issues a SELECT that performs an aggregate function (such as AVG, SUM, MAX, and so forth) on a column that was defined with a user-defined data type, SQLColAttributes(SQL_COLUMN_TYPE_NAME) returns the name of the base data type rather than the user-defined data type.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft SQL Server ODBC Driver version 2.00.1912. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDYou can determine the user-defined data type name for the column using the ODBC SQLColumns function.
|
Additional query words: SQLExecDirect SQLExecute odbc
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |