Queries SQL Server Database and creates csv from query results
You will have to add SQL Server credentials and edit the file location in the code.
Write SQL code in main box of editor
F5 to run
F2 to clear
Alt+Space to skip from query box to filename box