How to execute a SQL script in DBeaver? : <p>I have a number of <code>.sql</code> files that I wish to execute through DBeaver. Traditional database development programmes allow the user to edit and run SQL scripts (totally or partially) in the same window, but this is not obvious with DBeaver.</p>

<p>When I open a <code>.sql</code> script some drop down boxes in the button bar appear, that seem to serve as connection selectors. But none of the connections I have defined appear in these drop down boxes. It is possible to open a SQL console on database objects in the Database Navigation view, but not on SQL scripts. </p>

<p>How can I execute a SQL script, totally or partially, against a particular database connection with DBeaver?</p>
