Execute SQL file from DataGrip console editor

Answered

I am trying to figure out how to execute a SQL file from the editor like Oracle SQL Developer does. For example in Oracle SQL Developer I can execute an external file from the worksheet by putting an @ in front of the full path and file name. i.e

@C:/PathtoSQL.sql
@C:/PathtoSQL2.sql

I have a master SQL file that contains many such references to external files that I then want to call from a worksheet either in groups or individuals.

Is this possible in DataGrip and if so how?

Thanks!

0
2 comments
Avatar
Yuriy Vinogradov

It's not supported at the moment. Please vote for this feature request to get noticed on any updates.

1

+1

until this is supported or has a similar feature, I can't justify buying DataGrip

0

Please sign in to leave a comment.