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 January 22, 2011

2 Randy Knight MCITP 20 Years experience with Microsoft technology, focusing on SQL Server for the last 14. Worked in a variety of settings, including six years as a Database Architect for match.com Owner and Principal Consultant, SQL Solutions Group

3 Objectives Requirements Understand Project Types
Create Database Projects Schema Comparison Data Generation What’s missing

4 Requirements Visual Studio 2010 Premium or Ultimate for the good stuff
Schema Compare Data Compare Etc.

5 Project Types SQL Server 2005 SQL Sever 2008 CLR Data Tier Application
Database SQL Sever 2008 CLR VB C# Data Tier Application

6 Server Project Logins Linked Servers Custom Error Messages
Server Triggers Server Audits and Audit Specifications Service Broker Endpoints

7 Database Project Database Level Objects Users Database Triggers
Assemblies Users and Roles Database Audits and Audit Specifications Encryption Keys Schemas

8 Database Project DDL Tables Views Stored Procedures Functions Triggers
User Defined Data Types Service Broker Queues Synonyms

9 Schema Comparisons The real power of these projects
We have been using Visual Studio to manage scripts for years Visual Interdev anyone? Schema Compare is where it gets cool

10 Data Generation What about Test Data? Data Generation Plans
Honor foreign key relationships Use RegEx to create strings that make sense

11 Demo

12 Demo Create Projects from Scratch Create Project from Existing
Server Database Create Project from Existing Schema Compare

13 What’s Missing Configuration / Lookup Data Pre/Post Deployment Scripts

14 Issues References One Project Per Database Security
master and msdb .dbschema files One Project Per Database Security Logins/Users/Roles can be a mess Just do DB Roles and Permissions Server Level Objects Objects on Remote Servers Especially other DBMS’s

15 Resources MSDN Twitter
us/library/xee70aty.aspx Twitter #sqlhelp #sqlpass #sqlblog #sqlsat @randy_knight

16 Thank You! http://speakerrate.com/speakers/11314 Randy Knight
SQL Solutions Group (801) Linked In: Twitter: randy_knight Skype: randy.knight2


Download ppt "Visual Studio 2010 Database Projects"

Similar presentations


Ads by Google