Introducing G2.ai, the future of software buying.Try now
Juan O.
JO
Application Developer | Process Improvement | Data Analytics | Customer First Mentality

Is there a way to remove the connection to a specific server when using the history?

I sometimes run historical queries across different servers. If I copy the query to a window instead of the clipboard, it will run it against the server I originally ran the query against.
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Jordan S.
JS
PR Manager at Devart
0
Could you please explain what you mean by "to remove the connection to a specific server"? In the Execution History, you can filter the Server column so that only the required connections would be displayed. At the moment, the execution history records cannot be removed; instead, filters should be used.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Juan O.
JO
Juan O.
Application Developer | Process Improvement | Data Analytics | Customer First Mentality
Expand/Collapse Options
I'm usually working in three SQL Server environments. If I have SSMS open and run a query in Production, it's stored in History (no suprise). If I open SSMS tomorrow and connect to my dev server, I may want to run that same query against my open connection (dev). However if I go to history, and right-click the query and open in new window, it opens against my production server, and not the connection I'm actively on. When I was new to SQL Complete, this almost got me because I was expecting the query to run against dev.
Juan O.
JO
Juan O.
Application Developer | Process Improvement | Data Analytics | Customer First Mentality
Expand/Collapse Options
A similar feature that does the same thing is the open query feature, where when you launch SSMS it remembers the query windows you had open. This feature is great, however I wish the connection could be made against the SQL Server instance I'm opening and not the instance the query was run against. So if I worked in Prod yesterday and had 5 windows open, I wish I could launch SSMS, connect to dev and have those 5 windows that open up for me pointed to dev.