SQL Scripts 1.3 - Johan Compagner and Gerd Wagner

This plugin provides a wide range of scripting functions:







Running query output directly into a file
To run query output directly into a file use the following syntax:

@file '/tmp/customers.xlsx' SELECT * FROM customers

This will write the result of 'SELECT * FROM customers' to the file '/tmp/customers.xlsx'. The settings for the output will be taken from the export dialog shown above.
Please note the single quotes around the file name.
Also note: Existing files will be replaced.