Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Studio 2010 Database Projects

Similar presentations


Presentation on theme: "Visual Studio 2010 Database Projects"— Presentation transcript:

1 Visual Studio 2010 Database Projects
Randy Knight

2 Randy Knight MCITP, MCDBA, MCTS, MCSE …
20 Years experience with Microsoft technology, focusing on SQL Server for the last 14. Owner and Principal Consultant, SQL Solutions Group

3 Objectives The Challenge Visual Studio 2010 Requirements
Review Project Types Work with Database Projects Work with Data Features Issues and Challenges

4 The Challenge Unlike Source Code, Databases are full of Data!
Functions, Stored Procedures, Some Views can be treated the same as code Tables, Indices, Indexed Views Cannot Have to deploy deltas / incremental changes Source Control should be able to re-create DB from scratch How do we handle this?

5 Solutions No DB Source Control at all
Manage object-level scripts in source control Manual deployment script Deployment scripts from RedGate, ApexSQL, etc. Issues Extremely labor intensive Error Prone Doesn’t work the same way as code deployments

6 Requirements Visual Studio 2010 Editions

7 Project Types

8 Demo

9 Data Features Schema Comparison Data Compare T-SQL Editor

10 Demo

11 Issues and Challenges References Security Objects on Remote Servers
Other Database Projects .dbschema files master, msdb Project  Properties  References Can’t tell you how many times this has gotten me Security Logins/Users/Roles can be a mess Just do DB Roles and Permissions Objects on Remote Servers Especially other DBMS’s

12 Demo

13 What’s Missing Configuration / Lookup Data Management
Pre/Post Deployment Scripts Use a “Gold” database and use Data Compare to Generate Scripts XML Files CSV Files Native BCP

14 Resources MSDN Forums SQL Server Central Forums Twitter
VS Team System > DB Development Tools SQL Server Central Forums Twitter #sqlhelp, #sqlpass #sqlblog #sqlsat @randy_knight

15 Please Complete the Evaluation Form
Pick up your evaluation form: In each presentation room Drop off your completed form Near the exit of each presentation room At the registration area Presented by Dell Session Title

16 For attending this session and PASS SQLRally Orlando, Florida
THANK YOU! Presented by Dell For attending this session and PASS SQLRally Orlando, Florida Session Code | Session Title


Download ppt "Visual Studio 2010 Database Projects"

Similar presentations


Ads by Google