Run a query from file and display the results in GUI

moonking's profile image moonking posted 2 months ago in General Permalink

Let's say I have query in a file (test.sql). Is it possible to run this query using HeidiSql and display the results ? For example: Triggering HeidiSql from command line by passing this query as input to run it and display the result in output. Connection is defined in ODBC setup in Windows OS.

ansgar's profile image ansgar posted 2 months ago Permalink

You can pass an sql file path to HeidiSQL, which will open that file in a new query tab. But you will still need to press the "Run" button (or F9 on the keyboard).


moonking's profile image moonking posted 1 month ago Permalink

Yes it worked. Any way to hide the database filter and export options ?

Please login to leave a reply, or register at first.