I am surprised; I will say it is a hell of a new feature called SQL Server 2008 Database Project that is provided in Visual Studio 2010. All other older versions already have this project template, but VS 2010 has an advanced one. I also tried and created a project with VS 2008, but I have no idea about prior versions (VS 2005 and VS 2003). The templates are best suited for Database developers. But, those who have a simple knowledge of VS and DB can easily create, configure and deploy the project.
Last week our team had a discussion about a new project using SQL Server 2008 as the backend. But the huge task that came up during discussion was that the DB team will not provide the DB access to all the developers. Which means not even have access through SQL Server Management Studio; only one member has the rights to access the DB, and that only during deployment cycle? We were all confused and put this point in a priority list. We started collecting various approaches. One of my old friends told me about this new advanced feature provided with VS 2010. It looks interesting and we started studying it. The templates were a little confusing initially but later it became to seem good and simple. This template creates a database project, which means we can create databases, tables, stored procedures etc through Visual Studio.
It looks interesting. I thought of sharing this template here with you all.
Features of a SQL Server 2008 Database Project
- We will get a feel of working with SQL Server Management Studio.
- We can create Tables, Views, and Procedures... etc...
- We can execute SQL scripts.
- We have new in-built T-SQL Editor (no need to use SQL Server Management Studio)
- We have T-SQL Intellisence support while writing or modifying the SQL script.
- We can deploy the project to multiple environments (QA, Production environment etc.)...
- We can have an offline representation of our user databases or master database.
- We can have multiple versions controlling using Visual Studio Team Foundation and more...
Prerequisite
- Visual Studio 2010 Ultimate and Premium edition
- SQL Server 2008












Sr KarthigaPosted Jul 7, 2016, 7:05 AM
Good one
Suthish NairPosted May 14, 2013, 10:41 AM
Please post your questions to Forums...
tintu andrewsPosted May 10, 2013, 8:55 AM
hello, Can you please help me !!!. First i istalled SQL Server 2008 . Its worked fine. But when i installed V S 2010 , i could n't open sql server management studio. An error got ( error No 208) . Any idea about this. Thanks in advance...
akbar ansariPosted Jan 18, 2013, 7:08 AM
m using visual studio 2010 how to create database sql usermaster and datatable where i start from visual studio in visual basic method
Sam HobbsPosted May 31, 2011, 3:30 PM
It seems strange that the database team would not provide the developers access to the test database. Or is it production data? It is logical and typical for developers to never have access to production data. Based on my experience, it is unusual that there would not be test data. Is that now not normal?