BUG: Access ODBC: SQLGetInfo(SQL_NON_NULLABLE_COLUMNS)

Last reviewed: September 18, 1996
Article ID: Q120044
The information in this article applies to:
  • Microsoft Open Database Connectivity, version 1.0

BUG# SQLDBASE: 2131 (1.01.1928)

SYMPTOMS

Calling SQLGetInfo with InfoType=SQL_NON_NULLABLE_COLUMNS for Microsoft Access ODBC driver returns the value as SQL_NNC_NON_NULL, which implies that the columns may be non-nullable and that the data source supports the NOT NULL column constraint in CREATE TABLE statement. However, the Microsoft Access ODBC driver does not allow NON NULL constraint in the CREATE TABLE. Therefore, the value returned should be SQL_NNC_NULL to indicate that all columns must be nullable.

STATUS

Microsoft has confirmed this to be a problem in Access ODBC driver version 1.01.1908. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbusage
KBSubcategory:

Additional reference words: 1.01.1928 ODBC Simba MSVC C++ Desktop Drivers
DDD



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.