Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio vs. SQL Server Management Studio - Your Pick

Tags:

Just to preface: I work in a small company that does ASP.NET development and uses SQL Server 2005 for all of our database needs.

I was curious as to what were the pros and cons of using Visual Studio or SQL Server Management Studio for our development on the database side (i.e. table creation, stored procedure writing, etc.).

Right now we perform all of our database tasks inside Management Studio and I was wondering if there was some benefit to using Visual Studio instead. Would it make it easier to keep track of procedure changes and other modifications to the database (whether that is through Visual Studio itself or through some type of source control (planning on implementing subversion soon).

I don't personally have problems working with Management Studio but if it would be more efficient and more controllable through Visual Studio in ways that I am just not familiar with I would love to hear about it.

EDIT: I just wanted to note that my specific development environments are SQL Sever 2005, Visual Studio 2005 Professional Edition, and Visual Studio Team System 2008 Development Edition. We do not have team foundation server or any other extras running or installed.

like image 757
TheTXI Avatar asked Jan 17 '09 17:01

TheTXI


People also ask

What is the difference between Visual Studio and SQL Server Management Studio?

The key here is Visual Studio is oriented towards development. SSMS is oriented towards database and server management. They are going to have very different menu choices, etc. Your initial question was focused on query writing.

Does Visual Studio have SQL Server Management Studio?

SQL Server Data Tools for Visual Studio. Turn Visual Studio into a powerful development environment for SQL Server, Azure SQL Database and Azure SQL Data Warehouse.

Is SQL Server Management Studio necessary?

You will need SQL Server Management Studio (SSMS) to manage SQL Server databases on local or remote instances of SQL Server. It is recommended to install SSMS as the next step.

Will Azure Data Studio replace SSMS?

The latest version of SSMS is rebranded as Microsoft SQL Server Management Studio with Azure Data Studio. You can launch the Microsoft SQL Server Management Studio from Start Menu – Microsoft SQL Server Tools – Microsoft SQL Server Management Studio.


1 Answers

My personal method is to use SQL MS for all the design-related stuff (schema design, diagrams, keys, indexes, etc.), but to craft all my stored procedures, functions and the like in Visual Studio in a "Database" project attached to my solution -- mainly because it lets me keep the procs better version-controlled that way (as I find they generally change more often than the schema), and I find it's particularly handy using the context menus in VS to run the procs on my test and staging machines directly, since I do that so often.

like image 72
Christian Nunciato Avatar answered Sep 24 '22 10:09

Christian Nunciato