Udostępnij za pośrednictwem


Troubleshooting Refactoring Issues

You might encounter the following issue when you refactor database objects:

Note

All refactoring changes that you make are recorded in a log file. You can use the log file to help you troubleshoot refactoring issues. For more information, see Refactoring Databases.

Global Undo Does Not Work After Renaming Objects

You can use the global undo functionality to undo the changes when you rename a database schema object. You can undo the changes to the schema object, and any references to the object that were updated automatically. For more information, see How to: Undo a Database Refactoring Operation.

The global undo functionality does not work when data generation plans are open. You can open the Edit menu and click Global Undo, but the operation does not occur, and no error message appears. This issue occurs only if the open data generation plan belongs to the same database project in which you are trying to undo a rename refactoring operation. This issue applies only to refactoring operations. You can still reverse other operations, even if data generation plans are open. To avoid this problem, you must save and close all open data generation plans before you reverse a refactoring operation.

See Also

Concepts

Terminology Overview of Database Edition

Other Resources

Renaming Database Objects