• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Visual Studio 2005 Database Professional Edition
 

Visual Studio 2005 Database Professional Edition

on

  • 5,552 views

The features in Visual Studio 2005 for Database Professionals

The features in Visual Studio 2005 for Database Professionals

Statistics

Views

Total Views
5,552
Views on SlideShare
5,543
Embed Views
9

Actions

Likes
0
Downloads
94
Comments
0

1 Embed 9

http://www.slideshare.net 9

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Visual Studio 2005 Database Professional Edition Visual Studio 2005 Database Professional Edition Presentation Transcript

  • Visual Studio Team System for Database Professionals David Truxall, Ph.D. Principal Consultant NuSoft Solutions
  • Agenda VSTS for Database Professionals
    • Overview
    • Schema Management
    • Unit Testing
  • Visual Studio Team System Visual Studio Team Suite MSF Process and Guidance Visual Studio Team Foundation Server Visual Studio Industry Partners Software Architects Software Developers Software Testers Database Professionals Visual Studio Team Explorer Application Modeling Infrastructure and Deployment Modeling Code Analysis Performance Tuning Security Analysis Database Deployment Database Change Mgmt. Database Testing Performance Testing Manual Testing Test Case Management Change Management Work Item Tracking Reporting Project Site Build Services Project Management Load Test Agent New! Visual Studio Professional Edition Class Modeling Unit Testing
  • Visual Studio Team System Team Edition for Database Professionals
    • Take control of database change
      • Offline, change management of the database schema
      • Data and Schema Compare tools
      • Automated refactoring of database objects
    • Automate database testing to improve quality
      • Unit testing for database queries
      • Automatic generation of meaningful test data
    • Bring data professionals into the lifecycle
      • Provide full Visual Studio Team System support
      • Support Work Item tracking for database changes
  • Schema Management
    • Source Control
    • Build and Deployment
    • Refactoring
    • Database Comparison
  • Schema Management
    • Difficult to Manage Change to the schema
    • Production Database is one version of the truth for Data and Schema
    • DBA doesn’t have access to changes until he/she has deploy or reject choice
    • Changes often made to production database and not rolled back into test
    Tuning Monitoring “ One Version of the Truth” for Data and Schema Schema Changes Production Database Management Studio Schema
  • Schema Management
    • Schema Change now managed in VSTS and TFS
    • Production Database is now “One version of the truth” only for Data
    • DBA doesn’t have access to changes until he/she has deploy or reject choice
    • “ One Version of the truth for Schema” is Under Source Control
    Tuning Monitoring “ One Version of the Truth” for Data “ One Version of the Truth” for Schema
    • Offline
    • Under Source Control
    Schema Changes
    • Changes can be rolled out in a scheduled, managed way
    • Scripts allow administrators to mange change updates
    Production Database Management Studio Schema
  • Control the Schema
    • Project-Based
      • High Granularity - “Object Level”
        • Each DB object is a file
        • T-SQL, DDL
    • Offline
      • Production server is no longer the “truth”
    • Under Version Control
      • TFS
      • Supports continuous integration
  • Build and Deployment
    • Project under Source Control is the “truth”, not the production database
    • Build a Deployment Script
      • VSTS
      • SQL Management Studio
      • <gasp!> Command line
    • Data Loss Prevention
    • Automatic Backups
    • DBPro must be installed on the build server
  • Refactoring
    • Rename any schema object
    • Updates all references in…
      • Schema Objects
      • Data Generation Plans
      • Scripts
      • DB Unit Tests
    • Preview Changes
    • Global Undo
  •  
  • Database Comparison
    • Schema
    • Data
    • Visual Comparison
    • Generate Change Scripts
  • Visual Display of Schema Differences Automatically Produce Script to Deploy Compare Schemas Across Projects and Databases
  • Demo
    • Import Schema
    • Refactor
    • Schema Compare
  • Unit Testing
    • Generate Test Data
    • Unit Tests
  • Data Generation Plans allow you to create meaningful/repeatable test data
  • Generate Test Data
    • Types
    • Constraints
      • Min/Max
    • Distribution
      • Uniform, Normal, Inverse Normal, Exponential, Inverse Exponential
    • Number of Rows
  • Data Generators
    • Simple
      • Strings
      • Numbers
      • Date and Time
    • Complex
      • Foreign key
      • Regular Expression
      • Data Bound (database lookup)
    • Custom
  • Unit Tests
    • Generate test stubs
      • Stored Procedures, Triggers, Functions
    • Validation/Assertions
      • T-SQL Based
        • RAISEERROR command
      • Client-Side Assertions
        • Non-Empty, Empty, Row Count, Execution Time
    • Pre and Post test scripts
  • Unit Tests
    • Automatic Deployment Integration
      • Deploys Database project
      • Automatically generate test data based on data generation plan
    • Customizable
      • Built on VSTS Test
      • C# or VB.Net code
  • Unit Test Database Code (Sprocs, Views, Triggers, etc.) Specify Result Conditions
  • Demo
    • Generate Data
    • Unit Testing
  • Latest Downloads
    • Service Release 1 http://support.microsoft.com/kb/936612/
      • Cross-Database References
      • Set variables in deployment scripts
      • Support for SQL Server sp2
    • PowerTools http://go.microsoft.com/fwlink/?LinkId=88852
      • More Refactoring options
      • More Data Generators
      • MSBuild Tasks
  • What about VS 2008?
    • For DBPro, it is essentially DBPro with the Service Release 1 code
    • Other VSTS features, like code coverage come into play
    • Built into the Installer
    • Some bug fixes
  • Resources
    • Team Site http://msdn2.microsoft.com/en-us/teamsystem/aa718764.aspx
    • Product Forum http://forums.microsoft.com/msdn/showforum.aspx?forumid=725&siteid=1
    • Blogs http://blogs.msdn.com/camerons http://blogs.msdn.com/sachinre
  • Agenda VSTS for Database Professionals
    • Overview
    • Schema Management
    • Unit Testing
  • Thanks! [email_address] http://dotnetjunkies.com/WebLog/davetrux/