The information in this article applies to:
SYMPTOMSProperties for table columns in Data View show numeric codes under Data Type in the Column Properties dialog box. The Type field of the same dialog box displays the text version of the column type. CAUSEThe ODBC API SQLGetTypeInfo returns these numbers. The return code is displayed without displaying the constant name for the SQL data type (SQL_CHAR, SQL_INTEGER, and so on). RESOLUTIONOpen the header file Sql.h, which lists the constant names for the SQL data type codes, in the MSDEV\include subdirectory. A partial list is given below:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual C++ version 5.0. MORE INFORMATION
To reproduce the behavior, insert a SQL Server data source connecting to
the pubs sample database:
Additional query words:
Keywords : kbprg kbEEdition kbVC |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |