Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does SQL Server Management Studio come with Visual Studio?

Tags:

I have the full Visual Studio 2010 (not express) installed, with SQL Server that came with it as well:

enter image description here

I was trying to locate SQL Server Management Studio (ssms) in order to follow this tutorial but I can't seem to find it in my installation.

I could theoretically download the 2008 Management Studio Express but given the so many editions and versions of SSMS (e.g. 2012 Express), how do I know whether it is compatible with my VS 2010?

Also, why download an Express Edition if I already have it in my original Visual Studio 2010 DVD?

So my questions are:

  1. Is SSMS already installed but I don't see it? (if so, how do I locate it?)
  2. If it's not installed, do I just need to run Setup again, then install it?
  3. If it isn't really on the VS 2010 DVD (as many on SO suggest), which downloadable Express edition is most compatible with my VS 2010 (not express)?

Update: (for the benefit of future MS SQL Server newcomers)

Thanks to the answers below I managed to successfully install what I needed and most importantly understand the tools picture.

So to answer my particular questions one by one:

  1. No
  2. No
  3. SQL Server Management Studio 2008 Express

Tips:

  1. Once everything is installed, the next question is "What do I do next?". Fortunately, there is a great tutorial which to me is much clearer than the cumbersome (repetitious, cyclic links, non-linear, etc.) official Microsoft documentation.
  2. Despite the greatness of the functionx.com tutorial, it doesn't provide enough details on how to initially connect to local. Once again, SO comes to the rescue and clarifies that 2 more conditions must be met: (a) SQL Server Browser service must be running. (b) Server name must not be "local" but rather <local-pc-name>\SQLEXPRESS.
  3. To programmatically create a database in C#, use ADO.NET as well.
  4. Why use schemas.
  5. Don't even think about storing database files on a network share.
  6. If you get "Invalid object name" in a SELECT statement for a table you just created, refresh the local cache.
  7. When encountering System.Data.SqlClient.SqlException for the first time you use C# with an existing database using new SqlConnection(), remember that "Data Source=" cannot specify the computer name alone (as in the tutorial) but rather have \SQLEXPRESS appended to the computer name. Also, make sure TCP/IP Client Protocol is enabled.
like image 539
Not So Sharp Avatar asked Oct 11 '12 12:10

Not So Sharp


People also ask

Is Visual Studio required for SQL Server?

Generally, It is required to install sql server database with visual studio setup.

Does Visual Studio 2019 comes with SQL Server?

No. It only supports any edition before 2012 of SQL Server. The latest version is Visual Studio 2019. BTW, after upgrading Visual Studio you should use the latest SQL server (2019), which is always correct.

Does Visual Studio 2022 include SQL Server?

Visual Studio 2022 installs an old version of SQL Server Local DB (2016) but should be 2019. THis makes it difficult to develop and test code compatible with 2019 but not 2016.

What is included in SQL Server Management Studio?

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure. Use SSMS to access, configure, manage, administer, and develop all components of SQL Server, Azure SQL Database , Azure SQL Managed Instance, SQL Server on Azure VM, and Azure Synapse Analytics.


2 Answers

SSMS is for running queries and performing database administration tasks, etc. Configuration manager is a configuration tool for SQL Server, where you can configure (Start/Stop/user credentials, etc.) the services used by SQL Server.

However, installing Visual Studio does not mean you get the full version of SQL Server, but you get the Express edition, which does not include SSMS.

Maybe this MSDN link will help.

like image 153
SchmitzIT Avatar answered Sep 29 '22 03:09

SchmitzIT


As said by bugfinder and others (+1 to all) sql management studio and sql configuration manager are not the same.

It doesn't matter which visual studios version you have.

What matters is the sql server version you have. I.e You have sql server 2008 installed thus you should download management studio for sql server 2008. ( you have the link in your question). I have vs 2010 ultimate and it didn't have management studio incorporated.

like image 23
David Kroukamp Avatar answered Sep 29 '22 04:09

David Kroukamp