Comments
3 comments
-
Hi Juanita,
thanks for your question. While Query Analyzer is running, SQL Prompt always has an open connection to SQL Server to retrieve schema information of individual objects. This is not a problem in most cases, however, for some operations SQL Server requires exclusive access to a database. For example, when you want to delete a database, or when you want to restore it from a backup. To be able to do this, without closing down SQL Prompt, we have included the Close all connections button.
Regards,
Tilman -
HI. So if I am doing typical queries with select, udpate, and delete statements, then I do not have to use this 'close connections' button? My connection will close when i close Query Analyzer?
Thanks again,
Juanita -
Hi Juanita,
Yes, queries, inserts and updates will work without having to close the connection to SQL Prompt, as will most other operations. It's just a few cases in which SQL Server requires exclusive access to a database.
I'm afraid SQL Prompt will keep the connection open, even after you have exited Query Analyzer. This is of course not ideal, and we will fix it for version 3.
Regards,
Tilman
Add comment
Please sign in to leave a comment.
Closing connections
You can free up the resources that SQL Prompt is using on your SQL Servers by closing SQL Prompt's database connections. You do this by clicking Close All Current Connections.
Note that you should close SQL Prompt's database connections when you restore a database.
Thank you,
Juanita