IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Run SQL files

Last modified: 25 July 2023

SQL files are run against the selected databases or schemas using run configurations. Depending on your purposes, you can run SQL files using one of the following ways:

  • Create new run configurations or edit the existing ones via a run configuration widget.

  • Create new run configurations via Project tool window by running the selected file.

    note

    For your SQL files to appear in the Project tool window, attach the directory with them to your project.

  • Create new run configurations via Database tool window by running a file against the selected database or schema.