Monday, March 12, 2012

Removing SQL Express instances

Using SQL Express, UNDER COMPUTER management, SQL Server Configuraqtion Manager, SQL Server 2005 Network configuration Ihave the following listed instances

CSOLUTION - not listed under services

MSSQLSERVER - Disabled

SQLEXPRESS - Diaabled

SQLTEST - Disabled

SQLEXPRESSDATA - used by VB05 program

Questions

a) how do I delete all the instancces I do not use. In MSDE, each instance could be removed via the add/remove programs, but I don't see how to remove it under express

b) since SQLEXPRESS is the default for an SQL Express installation, I would like for the VBB05 program to use that instance; how do I do that?

Any help would be appreciated.

Bob

a) When you go to Add/Remove Programs, select the SQL 2005 entry and click on Remove. This will pop up a box showing the instances you have on your machine. You can select one from here and continue with the uninstall to remove it.

b) When you create your DB connection in your VB app, you'll need to supply a DB name to connect to. Here, use <MACHINENAME>/SQLEXPRESS and it will connect to that instance. You'd do the same thing to connect to any other named instance.

Thanks,
Sam Lester (MSFT)

No comments:

Post a Comment