Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 Sql Disconnect script
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 08/09/2010 :  18:21:23  Show Profile  Reply with Quote
Hi SQL Server admins,

I'm a developer, not an admin. I want to write a VB script or ASP app that will disconnect the production server instance running on the computer (where the script will run). The script basically will be similar to right-clicking on server instance name and clicking 'Disconnect' in Sql Server Management Studio.
Basically I want to automate this task so that the production server instance is not left open indefinitely by developers in our team.

Is there any way to do this?

Thanks for your suggestions. Kapil


5072 Posts

Posted - 08/09/2010 :  21:53:52  Show Profile  Visit russell's Homepage  Reply with Quote
No need to double post.

Mods please close...?
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000