PLSQL How to execute other scripts from a script?

Its been almost a decade since this was asked, is this still the case?

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000003430-Execute-SQL-script-with-a-list-of-scripts-files-inside

 

I would like to move from Toad or SQL Developer to Datagrip, but cannot seem to execute scripts that use the @@ reference.

@@set_variables.sql
@@script1.sql

//update tableA

@@script2.sql
@@script3.sql

//update tableB

@script4.sql

 Currently, after setting the dialect, it recognizes the actual sql in the main script but just ignores all script references.  Am I missing something on how to do this?

0
1 comment

Nicholas Aupke, at the moment DataGrip users a bit different paradigm of Run Configurations where you can set a desired order.

1

Please sign in to leave a comment.