I would like to propose a feature that would greatly enhance our workflow within the Editor window. Specifically, it would be beneficial to have the option to switch the database connection that the Editor window executes against.
Currently, when I am working on a saved Editor window connected to Database A and wish to execute the SQL statements in that file against Database B, I face a cumbersome process. I have to manually select the connection for Database B, reopen the file, or copy and paste the SQL into a new Editor window for Database B. This often leads to issues, as the SQL statements stored in a single file are typically grouped by a specific topic I am researching. When I have the file open in two instances, it becomes challenging to keep them in sync. Additionally, there are times when not all SQL statements are copied back to the original open file in Database A.
Having the ability to seamlessly switch the database connection within a single Editor window would be incredibly useful. It would allow me to maintain just one copy of the file without the worry of syncing discrepancies.
Thank you for considering this suggestion. I believe it would significantly improve our efficiency.
Best regards,
Scott