Visual Studio 2005 Database Professional Edition

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Visual Studio 2005 Database Professional Edition - Presentation Transcript

    1. Visual Studio Team System for Database Professionals David Truxall, Ph.D. Principal Consultant NuSoft Solutions
    2. Agenda VSTS for Database Professionals
      • Overview
      • Schema Management
      • Unit Testing
    3. 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
    4. 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
    5. Schema Management
      • Source Control
      • Build and Deployment
      • Refactoring
      • Database Comparison
    6. 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
    7. 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
    8. 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
    9. 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
    10. Refactoring
      • Rename any schema object
      • Updates all references in…
        • Schema Objects
        • Data Generation Plans
        • Scripts
        • DB Unit Tests
      • Preview Changes
      • Global Undo
    11.  
    12. Database Comparison
      • Schema
      • Data
      • Visual Comparison
      • Generate Change Scripts
    13. Visual Display of Schema Differences Automatically Produce Script to Deploy Compare Schemas Across Projects and Databases
    14. Demo
      • Import Schema
      • Refactor
      • Schema Compare
    15. Unit Testing
      • Generate Test Data
      • Unit Tests
    16. Data Generation Plans allow you to create meaningful/repeatable test data
    17. Generate Test Data
      • Types
      • Constraints
        • Min/Max
      • Distribution
        • Uniform, Normal, Inverse Normal, Exponential, Inverse Exponential
      • Number of Rows
    18. Data Generators
      • Simple
        • Strings
        • Numbers
        • Date and Time
      • Complex
        • Foreign key
        • Regular Expression
        • Data Bound (database lookup)
      • Custom
    19. 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
    20. 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
    21. Unit Test Database Code (Sprocs, Views, Triggers, etc.) Specify Result Conditions
    22. Demo
      • Generate Data
      • Unit Testing
    23. 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
    24. 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
    25. 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
    26. Agenda VSTS for Database Professionals
      • Overview
      • Schema Management
      • Unit Testing
    27. Thanks! [email_address] http://dotnetjunkies.com/WebLog/davetrux/

    + David TruxallDavid Truxall, 2 years ago

    custom

    2108 views, 0 favs, 0 embeds more stats

    The features in Visual Studio 2005 for Database Pro more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2108
      • 2108 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 53
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories