DataGrip
 
Get DataGrip

Run 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 Files tool window by running the selected file.

    note

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

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

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

For more information about run configurations, refer to Run/debug configurations.