ACC2000: Can't Delete, Rename, or Edit Table in SQL 6.5 Enterprise ManagerID: Q202786
|
If you use Access 2000 Client-Server to create a table that violates SQL Server naming conventions, you will be unable to delete, rename or edit the table in SQL Server 6.5 Enterprise Manager. If you try to do so, you receive the following error message:
Error 21770: The name <table name> was not found in the specified collection.
Access Client-Server automatically executes the SET QUOTED_IDENTIFIER Transact-SQL statement, which allows you to create and use objects in an Access project with names that do not follow the SQL Server 6.5 object identifier rules.
However, SQL Server 6.5 Enterprise Manager does not recognize objects that do not meet the criteria for object identifiers in SQL Server 6.5.
Using Microsoft Access Client-Server or ISQL_w, rename the table in question using a name that follows SQL Server 6.5 object identifier rules.
Use MyDatabase
GO
SET QUOTED_IDENTIFIER ON
EXEC sp_rename 'My Old Table Name','MyNewTableName'
For more information on the SET QUOTED_IDENTIFIER statement, refer to the "Identifiers" Help topic in SQL Server 6.5 Books Online.
Additional query words: inf prb context menu
Keywords : kberrmsg kbdta AccessCS
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: June 2, 1999