Developing High Quality Databases Using Visual Studio 2019

Developing High Quality Databases Using Visual Studio 2019

Course Length:
Delivery Methods: Available for private class only
Course Topics
  • Obtain a SSDT overview.
  • Learn to commit, pull, push workflow in Visual Studio.
  • Learn to compare and synchronize schema changes.
  • Learn Agile database techniques.
  • Learn to create and use a project snapshot (.dacpac)
  • Learn to compare and synchronize data changes
  • Learn SQL Server unit testing principles.
  • Learn to generate test data.
  • Learn to use static cod analysis.
  • Learn to build and release pipelines.
Course Overview

This two-day, instructor-led Developing High Quality Databases Using Visual Studio 2019 training class provides students with the knowledge and skills to effectively develop, test, and deliver modern SQL Server databases. Student will experience how to manage changes to database schema, ensure quality through T-SQL unit testing and static code analysis, and automate the building and deploying of SQL Server databases.

This course is intended for database developers and administrators working with modern versions of SQL Server or SQL Azure. Application developers who are involved with writing and testing T-SQL code and working with test data will also find value from this course. It would also be beneficial if students have worked on a team-based software development project and are familiar with their organization's development life cycle and practices.This course is intended for practitioners who are comfortable with the concepts of developing, testing, and deploying SQL Server databases.

Course Outline
  1. Agile Database Development
    1. Agile database development overview
    2. Agility challenges and blockers
    3. SQL Server Data Tools overview
    4. Connected vs. disconnected development
    5. Imperative vs. declarative development
    6. Agile database techniques
  2. SQL Server Database Projects
    1. Creating a SQL Server database project
    2. Treating schema as source code
    3. Working with SQL Server Object Explorer
    4. Importing database schema
    5. Importing data-tier applications (.dacpac)
    6. Importing scripts
    7. Managing cross-database dependencies
    8. Referencing a database and .dacpac file
  3. Managing Schema Changes
    1. Introduction to Azure DevOps
    2. Azure Repos overview
    3. Using Git to manage schema changes
    4. Cloning, committing, pushing, and pulling
    5. Comparing schemas and sync’ing changes
    6. Comparing data and sync’ing changes
    7. Rolling back changes using Git
    8. Rolling back changes using project snapshots
  4. Assuring a High-Quality Design
    1. Database unit testing principles
    2. Levels of database unit testing
    3. SQL Server unit tests
    4. Database unit test designer
    5. T-SQL assertions vs. test conditions
    6. Using tSQLt for SQL Server unit testing
    7. Static code analysis
    8. Database refactoring tools
  5. Building and Deploying
    1. Building the database project
    2. Using pre-build and post-build events
    3. Including additional build scripts
    4. Using script build actions
    5. Using the Local DB isolated sandbox
    6. Deploying changes to SQL Server
    7. Creating and using publishing profiles
    8. Using pre and post deployment scripts
    9. Using SQL CMD variables within scripts
    10. Building/deploying composite projects
    11. Building/deploying SQL CLR objects
    12. Azure Pipelines overview
    13. Using an automated build pipeline
    14. Practicing Continuous Integration(CI)
    15. Using an automated release pipeline
    16. Running tests in the release pipeline
    17. Practicing Continuous Delivery(CD)
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Request a Private Class
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors
Request Pricing