Tables in SQL Data Sources Not Present in Add Tables Dialog Box

Last reviewed: September 12, 1996
Article ID: Q125910
The information in this article applies to:
  • Microsoft Query for Windows, version 1.0

SYMPTOMS

In Microsoft Query, you can select tables to view from the Add Tables dialog box after you select a data source. However, tables in an SQL data source, such as an SQL Server or a Sybase database, may not appear in the list of tables under certain conditions.

CAUSE

SQL tables may not be visible if you use a login id that has been added as an alias to the database and the name of the database contains one or more underscores.

RESOLUTION

To avoid this problem, do not add the user's login as an alias to a database (you may need the database System Administrator to make this change). Also, avoid using underscores in the database name.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft SQL Server ODBC driver, versions 1.0 and 2.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

NOTE: To access data in SQL Server with the Microsoft SQL Server driver, you must have versions of Microsoft SQL Server up to 4.2x or Sybase SQL Server versions 4.2.

Another possible reason for this behavior is that the option to display tables from a data source has not been selected. To verify that tables should be displayed, choose the Options button in the Add Tables dialog box. The Table Options dialog box will be displayed. Make sure the Tables check box is selected, and choose OK. If the tables still do not appear, you may be experiencing the problem stated above.

For more information about the Microsoft SQL Server ODBC driver, search for "hardware requirements" or "software requirements" in the DRVSSRVR.HLP file located in the WINDOWS\SYSTEM directory.


KBCategory: kbtool
KBSubcategory: xlquery

Additional reference words: 1.00 4.x 4.2 4.21 NT sqlserver MSQuery



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 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.