PRB: Table Names Using Quoted Identifiers Do Not Open ProperlyID: Q194010
|
When you open, or design against, existing tables in the Visual InterDev Data View, one of the following error occurs:
-Table 'tablename' no longer exists in the database.
-[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'tablename'.
-Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '<tablename with space>'. /<project>/_ScriptLibrary/Recordset.ASP, line 466
This occurs when you attempt to view or open a table with a space in its name in Design View, or if the "Use ANSI quoted identifiers" option is not selected when you create the data connection to the database.
To avoid this problem, you can use one of the following workarounds:
-or-
This behavior is by design.
-or-
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect
syntax near '<tablename with space>'.
/<project>/_ScriptLibrary/Recordset.ASP, line 466
Additional query words:
Keywords : kberrmsg kbCtrl kbEEdition kbide kbSQLServ kbVisID600 kbGrpASP
Version : WINDOWS:6.0; winnt:6.5
Platform : WINDOWS winnt
Issue type : kbprb
Last Reviewed: May 27, 1999