Hristo Stoyanov
Hristo Stoyanov

Reputation: 1698

Intellij Ultimate 2019.3.3 How to run SQL from file

I have a file called my_table.tbl which has DDL SQL, I opened the file in Intellij IDEA Ultimate 2019.3.3, but it does not understand that this is a file with SQL statement and I cannot execute anything!

Note that changing the file extension (to .sql ?) is not an option. I just want to run pieces sql from any of my files *.TBL fles, just like I can do so in SQL Developer and many other tools. How do I do this in IntelliJ?

enter image description here

Upvotes: 1

Views: 318

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401995

Associate *.tbl with SQL files in File | Settings | Editor | File Types:

File types

Upvotes: 1

Related Questions