The information in this article applies to:
BUG#: 12951 (4.21a) 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
Keywords : kbinterop SSrvProg kbbug4.21a |
Last Reviewed: March 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |