Visual Studio 2015 without SQL Server - sql-server

I just installed VS 2015 Community edition and notice that SQL Server was installed with the Windows 8.1 app tools. I'm a JavaScript developer and new to Visual Studio. The fact is that I don't want any SQL Servers on my development environment because I prefer to install my databases and servers on dedicated virtual machines.
Question is: is it safe to uninstall SQL Server from my computer?
I also have a version of Windows Server 2012, so I wish to run a vm with Windows Server 2012 + SQL Server and then connect from my dev env if needed.
Do you think it's possible and even a good choice?

Removing it or leaving it on the system will make no difference. By the sounds of things it sounds like you should leave it though because you need managment studio, so I guess you could just stop the service..

Related

Missing sql server configuration manager

I'm using Windows 10 and have just installed Visual Studio 2017 community edition, as u can see, sql server express 2016 localdb is installed:
However, "SQLServerManager13.msc"(or any trace of configuration manager) is nowhere to be found on my machine.
I'm suspecting it's not installed. But SQL server configuration manager is not available to download as a stand-alone application. Please advise as to what should I do?
Thanks
This installed the LocalDB feature of Express which does not install config mgr, management studio etc and is managed at the command line.
It's meant to be a very easy/quick way to have a lightweight sql server and is not meant to be used except locally and has a special connection string, hence configuration manager is not necessary.
If you want more features you can install the full Express edition or SQL Developer edition which is good for dev/test (non-production) usage.
If you want to have an easier way to interface with the LocalDb you can download Management Studio on it's own and it works with LocalDb as well.

How to get GUI on SQL Server 2012

I have installed a Evaluation 180 days version of SQL Server 2012 from the official website of Microsoft, on a Windows Server 2012 R2 (with gui). At the end of the installation in the Installation center, everything passed and succedeed but when I quit the program, I don't have any way to execute SQL Server from a graphical interface. I can see MS instances created, services running but how can I get a GUI to work with SQL Server?
With the newer version of SQL Servers, the SQL Server Management Studio (the GUI) is a separate install and you will need to install it separately to the database engine installation (which is what you have done). You can download SSMS from here https://www.microsoft.com/en-us/download/details.aspx?id=29062. The page contains a lot of different download components, make sure you check the appropriate install and click download.
ENU\x64\SQLManagementStudio_x64_ENU.exe if you want the 64bit installation of SQL Management Studio
ENU\x86\SQLManagementStudio_x86_ENU.exe for the 32bit version.
you Need to Install SSMS
SQL Server Management Studio (SSMS) is a tool to manage and administer SQL Server and SQL Database.
SSMS is offered free of charge by Microsoft.

Visual Studio 2015 and SQL Server

I have Visual Studio 2015 Professional Edition installed on my computer and I would like to start developing applications with SQL instead of MS Access.
What exactly do I need to install in order to achieve that? Do I need a full version of SQL Server and SQL Server Management Studio?
Should I just install MySQL instead? I'm a bit lost... Thank you for your time and help.
SQL Server Express Edition (with tools) is free, and perfect for development purposes. If you need more advanced features then you can use SQL Server Developer Edition which is very cheap and has all features included in the advanced versions of SQL Server. The licence does not permit you to run it in a live environment though.

Why can I not install SQL Server Express 2016 on Windows 7 Professional 64 bit SP1?

When trying to install SQL Server 2016 Express in Windows 7 Professional x64 SP1 in VMware I get the following message.
What can I do to solve this?
Here is a workaround for users that need SQL 2016 on a Windows 7 development PC. This will allow the developer to develop and manage them by using using MDFs in LocalDB:
If you don't have Visual Studio 2015 then get it or the 2015 Community Edition
Download and install SQL Server Data Tools. SSDT
Note:
When I initially installed Visual Studio 2015 I chose custom install and selected all options. I was assisting someone else troubleshoot their installation so I installed Visual Studio 2015 Community Edition on another Win 7 Computer. I chose custom Install and under Windows and Web Development options I chose Microsoft SQL Server Data Tools. It stated 2012 SQL Server, but after install and restarting I had both the 2014 and 2016 SqlLocalDB (under 120 and 130 folders respectively). SQL Server Data Tools install may not be needed unless you need SSIS, SSAS or SSRS which I do need.
After all of this you will need SQL Server Management Studio 2016 or higher to connect to the local db and access the 2016 functionality.
After you have installed this there should be a SQL Local DB command Line tool installed. My install location was D:\Programfiles\130\Tools\Binn\SqlLocalDB.exe
The default install location as pointed out by Discosultan may be:
D:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe
My install path was different, but that may be due to the several versions and related components of SQL server that I have installed on the PC and the manner of my installs. Once you have done the install you can search for SqlLocalDB.exe if you have multiple versions and navigate to the 2016 version, (product version 13 in the 130 subfolder).
You can find the install folder path in the registry for SQL 2016 by reviewing the following Registry Entry in HKEY_LOCAL_MACHINE (Abbreviated to HKLM below):
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions\13.0
You can run the command line from there or add the directory to the path statement. I have multiple versions so I just go to the directory. Then you create a localDB instance and start it:
SqlLocalDB create "LocalDBExample2016" -s
SqlLocalDB Utility Command Line Reference
From that point if you prefer the GUI you can open SQL server Management Studio 2016 or through Visual Studio and connect to server:
(localdb)\LocalDBExample2016
From there you can add databases, etc.
The mdf and log files will default to C:\Users\[UserName], but they can be moved when creating the databases or copied elsewhere and given to the DBAs, etc. Some of the features won't be available like in memory OLTP tables. Here are the edition comparisons: Editions and Supported Features for SQL Server 2016
As the error message states SQL Server 2016 is not supported in Windows 7. You will have to upgrade to Windows 8 or higher or switch to a Windows Server operating system. Here is a list of all the operating systems (and other hardware and software requirements) in which SQL Server 2016 can be installed.
Late to the party, but while you can't install SQL 2017 Express or 2016 Express on Windows 7, you can install SQL 2014 Express. This may not work for compatibility purposes if you're dealing with a newer version of SQL (although I've been able to install the non-express version of SQL 2016 and 2017 to Windows 7) but if you're supporting something that uses an older version of SQL Express (which, frankly, is likely if you don't have access to a newer OS) this should work well enough.

Install SQL Server 2005 Standard on a computer with SQL Express

Folks,
Visual Studio installed SQL Server Express on my computer, which to date has satisfied my needs. I now need to do remote database support so need the full version of management studio. I tried to install the standard version but it is blocked, apparently because Express has newer versions of the files. Can I do this? Will they play well together?
Thanks
Doug
You cannot run SQL Server 2005 Express on the same machine as SQL Server Management Studio 2005. However, you can run SQL Server 2008 Express.
I uninstalled 2005 and installed 2008 on my machine to work around that problem.
See this blog post for more info.
You could probably also set up a slipstream for 2k5 install with the latest service packs and install it that way.
Your solution is pretty simple. Uninstall Express & install SQL Server 2005. Why would you need both running side by side when you have the full version besides there's less headache when you have only one instance of it.

Resources