Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Code Management with VS 2017 and RedGate

Similar presentations


Presentation on theme: "Database Code Management with VS 2017 and RedGate"— Presentation transcript:

1 Database Code Management with VS 2017 and RedGate
Rushabh Mehta Founder & President, Matchbook Services @Rushabhmehta When doing agile development, whether you have 1 production target database or in case of a SaaS solution, multiple targets, database change management becomes extremely crucial. One of the challenges with traditional SSDT projects are that they work on the "as-is" model through the development cycle and obfuscate the details of how actual changes would be applied. In this session, we will look at how to use the RedGate tools now available inside Visual Studio 2017 to manage the development process and gain better control over your deployments. This session will cover my experiences, tips and tricks with managing a Cloud SaaS solution and we will look at how Visual Studio 2017 and the RedGate family of tools provide tremendous value and higher confidence with our product releases.

2 Introduction Founder & President, Matchbook Services
Principal Architect, SolidQ 20+ Years implementing Microsoft BI and Analytical solutions Community Past President, Professional Association for SQL Server Microsoft Data Platform MVP (11 years) Melissa Data MVP Dun & Bradstreet MVP Blog: LinkedIn: 2 | The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

3 Agenda New Data Management Components in Visual Studio 2017
Installing the RedGate Tools as part of VS 2017 install ReadyRoll vs SSDT ReadyRoll 3 | The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

4 Visual Studio 2017 New Components
ReadyRoll Core Develop, source control and safely automate deployments of database changes SQL Prompt Core Advanced intellisense and code completion SQL Search Rapidly find SQL objects and references within or across databases The 1st EVER #SQLSatLA

5 Installing The 1st EVER #SQLSatLA

6 ReadyRoll vs SSDT VS 2017 still supports SSDT
ReadyRoll is an alternative to SSDT SSDT is A powerful database development environment within VS State-base approach Key Differences with ReadyRoll Migration-based approach More control by developers over the end database deployment scripts ReadyRoll Core only available in Enterprise We like to think of ReadyRoll as an alternative to SSDT database projects that allows developers to have more control over the end database deployment script. Whether you use a ReadyRoll project or SSDT project is up to you and will depend on your needs. Even when you’re using a ReadyRoll project, you can still use SSDT features such as the Table Designer and the ability to View and Edit data. With SSDT database projects, you are given a list of ingredients and a picture of what the end cake will look like; the beginning and end state. How you get there is derived. With ReadyRoll Core, you are given the recipe telling you what to do each step of the way to turn the ingredients into a cake. The 1st EVER #SQLSatLA

7 RedGate ReadyRoll Develop Side-by-side comparison Source Control
Deployment Migration based approach Developers can modify migration scripts Managing your database changes and incorporating them into your DevOps pipeline has always been difficult. Keeping track of what scripts need to be run and managing database states is often painful and error-prone. ReadyRoll Core simplifies this process by turning changes to your database schema into database migration scripts. These migration scripts can then be checked into source control and deployed to your other databases. When you’re working in a ReadyRoll project and make changes to your development database using Visual Studio, SQL Server Management Studio, or another tool of choice, ReadyRoll Core will list the changes you’ve made and show you the differences. Developers can modify migration scripts to gain more precise control over how changes are applied The 1st EVER #SQLSatLA

8 ReadyRoll Side-by-side Comparison
The 1st EVER #SQLSatLA

9 Demo Creating a new ReadyRoll project and baselining your database
Managing new changes/releases SQL Prompt SQL Search Demo The 1st EVER #SQLSatLA

10 Summary At the end of this session, you should have learned:
How to take advantages of new features in VS 2017 for database code management How to use ReadyRoll for database and deployment management A little bit about SQL Prompt and SQL Search 10 | The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

11 References The 1st EVER #SQLSatLA

12 Please Support Our Sponsors
SQL Saturday in Los Angeles is made possible with the generous support of these sponsors. You can support them by opting-in and visiting them in the sponsor area. The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

13 Questions? me at Or tweet Thank you! 13 | The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

14 SoCal Local User Groups Orange County User Group
L.A. User Group 3rd Thursday of each odd month sql.la SQL Malibu User Group 3rd Wednesday of each month sqlmalibu.pass.org Los Angeles - Korean Every Other Tuesday sqlangeles.pass.org San Diego User Group 1st & 3rd Thursday of each month meetup.com/sdsqlug meetup.com/sdsqlbig Orange County User Group 2rd Thursday of each month bigpass.pass.org Sacramento User Group 1st Wednesday of each month The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center

15 Upcoming SQL Saturdays in California
SQL Saturday in Sacramento 2017 (#650) When: Saturday, July 15, SQL Saturday in San Diego 2017 (#661) When: Saturday, September 23, The 1st EVER #SQLSatLA on June 10th Microsoft Technology Center


Download ppt "Database Code Management with VS 2017 and RedGate"

Similar presentations


Ads by Google