Execute SQL file failing

I've got a SQL file that I loaded from the filebrowser which when i try to execute it against a connection always fails because it cannot find the tables.  If I open a console window for the connection the SQL statements run fine.  Is there a way to tell a SQL file execution context which database to use?

0

Hi,

Could you specify DataGrip version you use? How do you execute it?

Do you attach your file to "Files":

Thank you.

0

请先登录再写评论。