The information in this article applies to:
SYMPTOMSRenaming a table through Design Table does not produce the same warning message that appears when you rename a table by right-clicking the table name or clicking Rename on the Action menu in SQL Server Enterprise Manager. If you use Design Table and select the table's Properties page and then change the Table Name entry on the Tables tab and save, the table is renamed, but you will not get a warning message that changing the table's name will cause dependent objects to become invalid. WORKAROUNDTo work around this problem, use the Rename command on the Action menu to rename the table, rather than changing it on the table's Properties page in the Table Designer. MORE INFORMATIONIf you rename a table, objects that have dependencies on that table (such as stored procedures, views, and triggers) become invalid, because they no longer point to the correct table name. Therefore, when you rename a table, the following warning message should appear: In SQL Server Enterprise Manager, if you click Rename on the Action menu for a table, that message does appear, with the options Yes, No, and View Dependencies. However, this message does not appear if you change the table's name directly on the table's Properties page in the Table Designer. Additional query words: ren tabl tab
Keywords : SSrvAdmin SSrvEntMan kbSQLServ700 |
Last Reviewed: April 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |