You can run SQL scripts (DDL SQL files) from the Project tool window or the editor. When doing so, if necessary, you can select more than one DB data source to apply the script to. So, unlike in the database console which is bound to a particular data source, you can run a script for a number of data sources at once.

To run an SQL script
  1. Select the necessary SQL file in the Project tool window, or open the file in the editor.
  2. Do one of the following:
    • Select Run "<file_name>" from the context menu.
    • Press Ctrl+Shift+F10.
  3. In the Choose Data Source pop-up, click the data source to which the script should be applied.

    If you want to run the script for more than one data source, select the data sources of interest in the pop-up and press Enter.

    RunSQLScriptSelectDS

See Also

Language and Framework-Specific Guidelines:

Web Resources: