Performing Refactoring in SQL Script

This topic will explain how to use refactoring in SQL scripts and project objects. To rename a project object or change name of an object in a script using refactoring, perform the following steps:

  1. For project object, right-click the object name in the SQL editor or in Schema View and choose Rename on the shortcut menu. To rename object in a script, open the code, right-click the object name in the SQL editor, and click Rename.
  2. The Rename window will appear. Enter a new object name.
  3. Use the corresponding check boxes to determine whether to search in text strings and comments and whether to preview changes, then click OK.
  4. If the Preview reference changes check box is selected, the Preview Changes dialog box will appear. Here you can preview, enable, and disable project changes.
  5. Click the Apply button to apply the selected changes, or click the Cancel button to cancel them.

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All Features

All features

Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
Request a demo

Request a demo

If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for MySQL?