how to create database project in visual studio 2010

My Learning: Log in Learning Report [Log in]


Remove Ads or Log in
Remove Ads or Log in
+0  |  -0
Author(s): by Katie Glownia & by Emil Glownia

In this step by step tutorial I will show you how to create database project in Visual Studio 2010. For the purpose of this tutorial I will use  Visual Studio 2010.

 

Let's start with explaning why you would want to create a SQL Server database project. Visual Studio has a template that allows you to store information about SQL Server objects in a centralized place and under TFS (version control) that allows you to build your database project in a controlled environment that is easy to share with other developers but the project allows much more than that. You can use to easily deploy changes to a server and it will perform schema comparison (based on settings you chose) which saves a lot of time when you want to prepare release scripts manually. Additionaly you use can use the database project to enforce certain company standards. There might be certain standards you cannot enforce but you can deploy the project to dev environment and use SQL Server policy-based management to ensure you comply with standards (for instance stored procedures start with usp_ and not system stored procedures sp_)

 

How to create database project

In Microsoft Visual Studio 2010 I select New Project option.

create new database project

 

Once New Project window is selected I go to Install Templates and select Database, SQL Server, Advanced on the left side and on the right side I select SQL Server 2008 Database Project.

 

I type name of the database project and click ok

 

My new project is added and I can see it in solution explorer.

 

Soon I will add links on how to add tables to database project and how to deploy it. (If I forget use the search bar at the top).

 

Take care

Katie


Remove Ads or Log in

We need you!

By becoming a proud member we can:
  • Switch off annoying ads
  • Create more articles and videos
  • Develop more useful features supporting your learning
  • Provide FREE webinars (for members)
  • Feel our hard work since 2011 is appreciated
Become a proud member and get exclusive features.

If 2% of our 64,943 visitors (Last 30 days) become a proud member than we can quit our jobs and work full time on this website. We started membership in May 2014 and so far 0.07% of our visitors are members and we would like to say THANK YOU to those who become a proud member and support our efforts.

Thanks to members:
  • Education is for FREE and we create more FREE articles and videos
  • We provide new features (members) that can speed up learning.
  • 53% of our page views (82,000 each month) do not have page ads.
  • We switched video ads from 14% of our videos (50 out of 345).
We have invested 4 years of our time in this website and we estimate it will take about 5 years before we can quit our jobs and dedicate all our time to develop considerably our website which should help to truly achieve our vision of free education for everyone; all thanks to support of our members only. Become a proud member

Visitor Voting

Do you find our website helpful?
Visitor Voting: Yes +70  |  No -1
Add comment (no email required).



Add Comment
No data was returned.


Are you a member?

If yes than please log in

Learning Map is for members with Bronze, Silver and Gold Membership.
For more information visit membership options.


Close this window , log in or learn more about membership benefits
  Become a Proud Member