IntelliJ IDEA
 
Get IntelliJ IDEA

Run SQL files

Last modified: 04 December 2024

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.

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

In IntelliJ IDEA, the maximum number of DML statements that you can run from an SQL file is 1000.