Remove SQL Server Express before installing the Developer edition - sql-server

Planning to install SQL Server Developer edition. Should I remove SQL Server Express that came with Visual Studio before installing it? Can they work together? Is there any reason not to remove SQL Server Express?

Visual Studio installs SQL Express LocalDB, which provides on-demand SQL Instances in the user's desktop session. The SQL Server Data Tools requires this, and it's handy also for other development and test scenarios.
Also there's no reason to remove it.

Related

How can I add SQL Server 2019 Express as a prerequisite in Visual Studio?

I am using a Visual Studio Setup project. How can I add SQL Server 2019 Express as a prerequisite?
It includes only SQL Server 2012 Express. But I also need to implement SQL Server 2019 Express.
I don't believe that SQL express is part of, and can be installed along side Visual Studio.
If you want to use SQL express (in place of local db), and I STRONG recommend that you do use + install SQL express?
Then you have to go get, and download and install SQL express. And while you doing that, you might as well go ahead and install SQL management studio. (and the express version these days is rather nice - even includes the sql profiler tools).
So, you can't choose, nor have Visual Studio install say Excel, Word, power-point, SQL server or some accounting package, or some PDF viewer?
If you need and want these other applications?
You have to go get them, and install them - such installs of such software is 100% outside the realm of Visual Studio and what it has for options to be installed.

Installing full text feature for Sql Server (compatibility issue)

I have Ms Sql Server Express 2005 currently installed. I need to install the "Sql Server Express with Advanced Services" from Microsoft, found here (in order to enable full-text search feature):
http://www.microsoft.com/betaexperience/pd/SQLEXPCTAV2/enus/default.aspx
Problem is: the "Express with advanced services" component is from 2012, and my Ms Sql Server is from 2005. Are they compatible? Do I risk messing up the Sql Server installation if I run this service?
I'm very short of time and I don't want to mess up my installation and have to reinstall.
Thank you!
Installing Express with Advanced Services will install a new instance of SQL Server. Compatibility won't matter because only the new Express instance will have Full-Text capability and your existing SQL Server 2005 instance won't be able to use it. What you probably want to do is install Full-Text for the instance you already have installed - you can do this through Add/Remove Programs for the existing SQL Server 2005 instance (assuming you still have the install media for SQL Server 2005), which will call up the Installation Center where you can choose to add features to an existing instance.

Installing and distributing SQL Server without Management Studio

Have developed a small Windows application using SQL Server as its database.
I need to give the installation pack to my customer, and include the required SQL Server 2005 Enterprise Edition.
How can I distribute my database without including Management Studio?
You client is going to have to pay a good amount of money to licence the Enterprise version.
You can either:
give them the SQL2005 Express (which you can redistribute)
get them to use Microsoft's Web Platform Installer
You could also use SQLExpress 2008, the client can download either the x86 or x64 editions via this page. You can't stop them from getting SQL Management Studio if they want to (it can be found here), although i'm unsure if the express version has the query analyzer.
Instead of SQL Server enterprise edition you can give Express edition. Express edition is free to re-distribute and use.
There are 3 installation files in SQL Server 2005 express.
1. Windows Installer
2. SQL Server 2005 express
3. Managment studio express
In your case you can install the first two. However SQL Server can be accessed by command prompt also.
SQL Server management studio is another application and does not come bundled with MS Sql server.
SQL pack should only contain SQL Server express edition and not enterprise edition as that is not free and your client will have to pay for it.

Visual studio 2010 and Sql Server

Do visual studio 2010 include already Sql Server instance, or I need to install Sql Server developer edition to develop an application that need a Sql Server db.
If it installs a Sql Server express edition, it this enough or it's better to have Sql Server developer edition?
I would second that installing the "full" SQL Server Development Edition makes sense if you do serious database development.
However you can have both installed side by side, and having SQL Server Express is very useful for one reason - it supports placing database files in the App_Data folder of ASP.NET applications. While I don't do this for my own projects, it's a very nice feature for demos or open source applications you download from the web: just unzip, start VS, hit F5, and you have a running solution including database. Without SQL Express, you first have to move the MDF file, attach the database, set up user rights, replace the connection strings etc...
The Visual Studio 2010 installer gives you the option of installing SQL Server 2008 Express Edition. This edition of SQL Server is good enough for development purposes but is not intended for production use.
I think the size limitation is not the main issue.
In Sql Server 2008 you have some features in Sql Server Management Studio that aren't available in the Express management Studio or the Express database engine, like:
- suggesting the table and column names (in Query Window)
- Sql profiler
Cor Westra

Why won't Visual Studio 2008 create .mdf files with SQL Server 2008 Developer installed?

I'm trying some of the ASP.NET MVC tutorials and one of them has the following steps:
Right-click on the "App_Data" folder, and choose "Add New item"
Choose "SQL Server Database" under the "Data" category.
However, once I do that, I get the following message from Visual Studio:
Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function proprely. Please verify the installation of the component or download from the URL...
The thing is that I have SQL Server 2008 Developer Edition installed, and I would really rather not install any Express versions (2005 or 2008) if I don't have to. Is there a work-around for this issue?
I ran into this problem too on 64-bit Windows 7 (using 64-bit SQL Server Express 2008).
There are two methods of fixing this problem referenced in the Microsoft Support Knowledge Base article:
1. Workaround
To work around this problem, uninstall
the 64-bit version of SQL Server
Express 2008, and then install the
32-bit version of SQL Server Express
2008.
If you don't want to do the uninstall/install, then try the Hotfix method below.
2. Hotfix
A supported hotfix is now available
from Microsoft. However, it is
intended to correct only the problem
that this article describes. Apply it
only to systems that are experiencing
this specific problem.
Although the article itself doesn't include a link to the hotfix, you can get it here:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=957944
To illuminate masfenix's reply, SQL Express supports one feature that is not supported by full-blown SQL Server: a "user instance" database. With SQL Express installed and an mdf file in your App_Data folder, the application will dynamically attach and detach it as needed. For hobbyist or small business sites, this may be perfect. If you're running SQL elsewhere in the enterprise, you probably don't want to go this route and therefore the feature isn't useful to you.
Actually SQL express is a whole different database engine then SQL Server 2005. So yes if you want to use mdf files you'd need SQL Express.
I want to point out that I have both Developer edition and Express edition installed. And I still run into the same error. I think Express edition must be installed as a single instance.
I have the same problem but I've sql 2008 express installed.
any way to make it work with sql 2008 express so I don't have to install the 4th sql instance on my machine??
I already have sql 2005, sql 2008, sql 2008 express
what the F... :)

Resources