SlideShare a Scribd company logo
Continuous Integration
for Databases
Umesh Kumar
Agenda
● Challenges with Database Deployment
● How are these problems are being addressed
● Solution: Continuous Integration for Database Projects
● Q&A
Challenges with Database Deployments
Database Lifecycle Management is Hard
Too Many Details
● Need to preserve data puts focus on ALTER scripts
● Dependencies make even simple tasks complex
● Promoting databases across environments
Lack of Error Prevention
● Errors detected too late
● Drift has to be accommodated
Keeping in Sync
● Versioning your database as your application evolves
● Developing for different target platforms
● Migrating databases to the cloud
● Creating one package for multiple deployments
Possible Solutions
Project-based Development will solve
- Keeping DB Schema under version control
- Identifying errors early
Automated Change Script Generation
- Dependencies
- Environment specific publish profiles
• Protect existing org database assets using Source Control integrated with
TFS and Application lifecycle management process
• Developer Self-Service build and deploy of physical DB schemas to the
Dev environment
• Transition DB “change script” generation from Developer to Deployment
Engineer / Release Manager
• Enable developers with a DB schema comparison tool
• Enable automated build validation test for database changes
• Enable developer to get early notification e.g. Dependency
• Get ready to support continuous integration for database change
deployment
Demo Objectives
● Adoption of Visual Studio Sql Server Database Projects may require a mental shift
for some developers or at least a change in process or workflows.
● Developers who have developed database applications where the production
database represents the current version of the database will need to adopt a source
code based approach where source code becomes the vehicle to which change is
made to databases
● In Visual Studio SQL Server Database Projects, the project and the source code is
the "One Version of the Truth" for the database schema and is managed using SCM
workflows likely already being used by the developer or organization for other
portions of their application stack. For the data, the production database remains its
"One Version of the Truth" as it should be.  
Adoption of Sql Server Database Projects
SQL Server Data Tools
6/14/2011
Database is a project that builds into
DACPAC
Code can be tested locally (F5)
Syntax and semantic
validation
during compilation
LocalDB
T-SQL DOM
T-SQL Compiler
Connectivity
DAC FXVisual Studio
Connected Development
SSOX
● SQL Server Object Explorer (SSOX)
● Modeled after SSMS object explorer
Modern Experience
● Modern T-SQL Coding Experience
● Buffered Declarative Object Editing
● Model based with error detection
● Imperative Script Execution
● T-SQL Intelligence
Modern Design
● Code-behind Table Designer
● View/Edit/Script Data (incl. copy/paste)
● Execute/Debug T-SQL Procedures, Functions
Buffered
Declarative
Editing
Graphical
Table
Designer
Project-based Development
Visual Studio IDE
● Database definition managed in VS project
● Database artifacts using same/similar gestures as application code.
● Multi-target to SQL Server {2005-2014} or SQL Azure
Advancements
● Language Services for T-SQL
● Go To Definition/Find All References/Refactoring
● F5 debugging with LocalDB
Tightly Integrated
● Visualize schema differences and migrate changes
● Publish direct to database or via SQL script or DACPAC
● Point-in-time Snapshot
● Drag & Drop import from SQL Server Object Explorer
Application Lifecycle & Tools
Text/Icon/P
ic
MSBuild Tasks
● Build
● Publish
● T-SQL Static Code Analysis
● Database Unit Tests
MSBuild Utilities
● Redist SSDTBuildUtiities.msi
● DB projects in build server
○ environment
● No need to install full copy of VS
Standard Integration
● SSDT integrates with all standard VS SCCS providers
● DACFX v3
● Schema compare
● Publish
Target Version Aware
● SQL Server 2005
● SQL Server 2008
● SQL Server 2008 R2
● SQL Server 2012
● SQL Server 2014
● SQL Server 2106
● SQL Server Azure
Publish
● Direct
● via SQL script
● DACPAC snapshots
Publishing your Database Changes
Schema Deployment
DACFx
SQL Server
Management
Studio
SQLSQL Server Data
Tools
Azure
Management
Portals
Windows Azure
SQL Database
SQL Server
2005, 2008/R2, 2012
Deploy/Upgrade
Script/Report
Reverse Engineer
Demo
Connected or Online Development
Project Based Development
Comparison & Publishing
Continues Integration of SQL
Deployment
Schema Compare
Import Existing DB Schema
Tightly Integrated into VS IDE
SQL Database project type
Create New or Import Existing Schema from:
- .dacpac
- Existing database
- .sql script
Import Existing DB Schema
Working with Database Projects
Managing Schema Objects
SQL Static Analysis
Refactoring
SSDT Home Page http://msdn.microsoft.com/data/tools
Downloads
SSDT for VS2010/VS2012 -
http://msdn.microsoft.com/en-us/data/hh297027
DACFx Redist -
http://www.microsoft.com/en-us/download/details
.aspx?id=34964
Docs, Forums, and Blog
http://msdn.microsoft.com/en-us/library/hh272686.aspx
http://social.msdn.microsoft.com/Forums/en-US/ssdt
http://blogs.msdn.com/b/ssdt
Resources
Q&A
Ad

More Related Content

What's hot (20)

Successfully migrating existing databases to Azure
Successfully migrating existing databases to AzureSuccessfully migrating existing databases to Azure
Successfully migrating existing databases to Azure
Red Gate Software
 
My SQL Portfolio
My SQL PortfolioMy SQL Portfolio
My SQL Portfolio
Paulette_Warrick
 
Using Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your DatabaseUsing Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your Database
Red Gate Software
 
Jason Abbatiello - Software Engineer
Jason Abbatiello - Software EngineerJason Abbatiello - Software Engineer
Jason Abbatiello - Software Engineer
Jason Abbatiello
 
CA Harvest "Private Solutions - State of New Hampshire
CA Harvest "Private Solutions - State of New HampshireCA Harvest "Private Solutions - State of New Hampshire
CA Harvest "Private Solutions - State of New Hampshire
Bill Mannion (LION)
 
Streams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik KnopStreams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik Knop
Perforce
 
Aftab Jahangeer_Dot Net
Aftab Jahangeer_Dot NetAftab Jahangeer_Dot Net
Aftab Jahangeer_Dot Net
Aftab Jahangir
 
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - TrivadisTechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
Trivadis
 
Sql Portfolio
Sql PortfolioSql Portfolio
Sql Portfolio
Shelli Ciaschini
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Features
Amin Mesbahi
 
Sql developer resume
Sql developer resumeSql developer resume
Sql developer resume
guest9db49b8
 
Coursera's Adoption of Cassandra
Coursera's Adoption of CassandraCoursera's Adoption of Cassandra
Coursera's Adoption of Cassandra
DataStax Academy
 
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Paulo Condeça 🌐
 
Integrated Requirements Management with Serena Dimensions RM 02-2016
Integrated Requirements Management with Serena Dimensions RM 02-2016Integrated Requirements Management with Serena Dimensions RM 02-2016
Integrated Requirements Management with Serena Dimensions RM 02-2016
Serena Software
 
Instaclustr: When and how to migrate from a relational database to Cassandra
Instaclustr: When and how to migrate from a relational database to CassandraInstaclustr: When and how to migrate from a relational database to Cassandra
Instaclustr: When and how to migrate from a relational database to Cassandra
DataStax Academy
 
Introduction to Asp.net 3.5 using VS 2008
Introduction to Asp.net 3.5 using VS 2008Introduction to Asp.net 3.5 using VS 2008
Introduction to Asp.net 3.5 using VS 2008
maddinapudi
 
Weblogic domain
Weblogic domainWeblogic domain
Weblogic domain
Aditya Bhuyan
 
Perforce Streams
Perforce StreamsPerforce Streams
Perforce Streams
Perforce
 
KnowItPresentation
KnowItPresentationKnowItPresentation
KnowItPresentation
Chuan Su
 
Wakanda db parisjs-2011-12
Wakanda db parisjs-2011-12Wakanda db parisjs-2011-12
Wakanda db parisjs-2011-12
Thibaud Arguillere
 
Successfully migrating existing databases to Azure
Successfully migrating existing databases to AzureSuccessfully migrating existing databases to Azure
Successfully migrating existing databases to Azure
Red Gate Software
 
Using Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your DatabaseUsing Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your Database
Red Gate Software
 
Jason Abbatiello - Software Engineer
Jason Abbatiello - Software EngineerJason Abbatiello - Software Engineer
Jason Abbatiello - Software Engineer
Jason Abbatiello
 
CA Harvest "Private Solutions - State of New Hampshire
CA Harvest "Private Solutions - State of New HampshireCA Harvest "Private Solutions - State of New Hampshire
CA Harvest "Private Solutions - State of New Hampshire
Bill Mannion (LION)
 
Streams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik KnopStreams in Parallel Development by Sven Erik Knop
Streams in Parallel Development by Sven Erik Knop
Perforce
 
Aftab Jahangeer_Dot Net
Aftab Jahangeer_Dot NetAftab Jahangeer_Dot Net
Aftab Jahangeer_Dot Net
Aftab Jahangir
 
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - TrivadisTechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
Trivadis
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Features
Amin Mesbahi
 
Sql developer resume
Sql developer resumeSql developer resume
Sql developer resume
guest9db49b8
 
Coursera's Adoption of Cassandra
Coursera's Adoption of CassandraCoursera's Adoption of Cassandra
Coursera's Adoption of Cassandra
DataStax Academy
 
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
Paulo Condeça 🌐
 
Integrated Requirements Management with Serena Dimensions RM 02-2016
Integrated Requirements Management with Serena Dimensions RM 02-2016Integrated Requirements Management with Serena Dimensions RM 02-2016
Integrated Requirements Management with Serena Dimensions RM 02-2016
Serena Software
 
Instaclustr: When and how to migrate from a relational database to Cassandra
Instaclustr: When and how to migrate from a relational database to CassandraInstaclustr: When and how to migrate from a relational database to Cassandra
Instaclustr: When and how to migrate from a relational database to Cassandra
DataStax Academy
 
Introduction to Asp.net 3.5 using VS 2008
Introduction to Asp.net 3.5 using VS 2008Introduction to Asp.net 3.5 using VS 2008
Introduction to Asp.net 3.5 using VS 2008
maddinapudi
 
Perforce Streams
Perforce StreamsPerforce Streams
Perforce Streams
Perforce
 
KnowItPresentation
KnowItPresentationKnowItPresentation
KnowItPresentation
Chuan Su
 

Similar to Database CI Demo Using Sql Server (20)

DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
DWX 2023 - Datenbank-Schema Deployment im Kubernetes ReleaseDWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
Marc Müller
 
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Microsoft TechNet - Belgium and Luxembourg
 
Apoyo en la administración de bases de datos mediante microsoft data tools
Apoyo en la administración de bases de datos mediante microsoft data toolsApoyo en la administración de bases de datos mediante microsoft data tools
Apoyo en la administración de bases de datos mediante microsoft data tools
SpanishPASSVC
 
Database CI/CD Pipeline
Database CI/CD PipelineDatabase CI/CD Pipeline
Database CI/CD Pipeline
muhammadhashir57
 
Microsoft SQL Server Continuous Integration
Microsoft SQL Server Continuous IntegrationMicrosoft SQL Server Continuous Integration
Microsoft SQL Server Continuous Integration
Mark Ginnebaugh
 
Database Build and Release - SQL In The City - Ernest Hwang
Database Build and Release - SQL In The City - Ernest HwangDatabase Build and Release - SQL In The City - Ernest Hwang
Database Build and Release - SQL In The City - Ernest Hwang
Red Gate Software
 
Database Change Management
Database Change Management Database Change Management
Database Change Management
headspringlabs
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Dr. John Tunnicliffe
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Dr. John Tunnicliffe
 
Olaf_Senz_Resume
Olaf_Senz_ResumeOlaf_Senz_Resume
Olaf_Senz_Resume
Olaf Senz
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Bob Ward
 
Meetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDTMeetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDT
Solidify
 
Bringing DevOps to the Database
Bringing DevOps to the DatabaseBringing DevOps to the Database
Bringing DevOps to the Database
Michaela Murray
 
Nwdi Overview And Features
Nwdi Overview And FeaturesNwdi Overview And Features
Nwdi Overview And Features
akrishnanr
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
Michaela Murray
 
OUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th JanuaryOUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th January
Brendan Tierney
 
Database Migrations with Gradle and Liquibase
Database Migrations with Gradle and LiquibaseDatabase Migrations with Gradle and Liquibase
Database Migrations with Gradle and Liquibase
Dan Stine
 
SivakumarS
SivakumarSSivakumarS
SivakumarS
sivakumar s
 
Informatica,Teradata,Oracle,SQL
Informatica,Teradata,Oracle,SQLInformatica,Teradata,Oracle,SQL
Informatica,Teradata,Oracle,SQL
sivakumar s
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
James Serra
 
DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
DWX 2023 - Datenbank-Schema Deployment im Kubernetes ReleaseDWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
Marc Müller
 
Apoyo en la administración de bases de datos mediante microsoft data tools
Apoyo en la administración de bases de datos mediante microsoft data toolsApoyo en la administración de bases de datos mediante microsoft data tools
Apoyo en la administración de bases de datos mediante microsoft data tools
SpanishPASSVC
 
Microsoft SQL Server Continuous Integration
Microsoft SQL Server Continuous IntegrationMicrosoft SQL Server Continuous Integration
Microsoft SQL Server Continuous Integration
Mark Ginnebaugh
 
Database Build and Release - SQL In The City - Ernest Hwang
Database Build and Release - SQL In The City - Ernest HwangDatabase Build and Release - SQL In The City - Ernest Hwang
Database Build and Release - SQL In The City - Ernest Hwang
Red Gate Software
 
Database Change Management
Database Change Management Database Change Management
Database Change Management
headspringlabs
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Dr. John Tunnicliffe
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Dr. John Tunnicliffe
 
Olaf_Senz_Resume
Olaf_Senz_ResumeOlaf_Senz_Resume
Olaf_Senz_Resume
Olaf Senz
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Bob Ward
 
Meetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDTMeetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDT
Solidify
 
Bringing DevOps to the Database
Bringing DevOps to the DatabaseBringing DevOps to the Database
Bringing DevOps to the Database
Michaela Murray
 
Nwdi Overview And Features
Nwdi Overview And FeaturesNwdi Overview And Features
Nwdi Overview And Features
akrishnanr
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
Michaela Murray
 
OUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th JanuaryOUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th January
Brendan Tierney
 
Database Migrations with Gradle and Liquibase
Database Migrations with Gradle and LiquibaseDatabase Migrations with Gradle and Liquibase
Database Migrations with Gradle and Liquibase
Dan Stine
 
Informatica,Teradata,Oracle,SQL
Informatica,Teradata,Oracle,SQLInformatica,Teradata,Oracle,SQL
Informatica,Teradata,Oracle,SQL
sivakumar s
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
James Serra
 
Ad

Recently uploaded (20)

Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New VersionPixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
saimabibi60507
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New VersionPixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
Pixologic ZBrush Crack Plus Activation Key [Latest 2025] New Version
saimabibi60507
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Ad

Database CI Demo Using Sql Server

  • 2. Agenda ● Challenges with Database Deployment ● How are these problems are being addressed ● Solution: Continuous Integration for Database Projects ● Q&A
  • 3. Challenges with Database Deployments Database Lifecycle Management is Hard Too Many Details ● Need to preserve data puts focus on ALTER scripts ● Dependencies make even simple tasks complex ● Promoting databases across environments Lack of Error Prevention ● Errors detected too late ● Drift has to be accommodated Keeping in Sync ● Versioning your database as your application evolves ● Developing for different target platforms ● Migrating databases to the cloud ● Creating one package for multiple deployments
  • 4. Possible Solutions Project-based Development will solve - Keeping DB Schema under version control - Identifying errors early Automated Change Script Generation - Dependencies - Environment specific publish profiles
  • 5. • Protect existing org database assets using Source Control integrated with TFS and Application lifecycle management process • Developer Self-Service build and deploy of physical DB schemas to the Dev environment • Transition DB “change script” generation from Developer to Deployment Engineer / Release Manager • Enable developers with a DB schema comparison tool • Enable automated build validation test for database changes • Enable developer to get early notification e.g. Dependency • Get ready to support continuous integration for database change deployment Demo Objectives
  • 6. ● Adoption of Visual Studio Sql Server Database Projects may require a mental shift for some developers or at least a change in process or workflows. ● Developers who have developed database applications where the production database represents the current version of the database will need to adopt a source code based approach where source code becomes the vehicle to which change is made to databases ● In Visual Studio SQL Server Database Projects, the project and the source code is the "One Version of the Truth" for the database schema and is managed using SCM workflows likely already being used by the developer or organization for other portions of their application stack. For the data, the production database remains its "One Version of the Truth" as it should be.   Adoption of Sql Server Database Projects
  • 7. SQL Server Data Tools 6/14/2011 Database is a project that builds into DACPAC Code can be tested locally (F5) Syntax and semantic validation during compilation LocalDB T-SQL DOM T-SQL Compiler Connectivity DAC FXVisual Studio
  • 8. Connected Development SSOX ● SQL Server Object Explorer (SSOX) ● Modeled after SSMS object explorer Modern Experience ● Modern T-SQL Coding Experience ● Buffered Declarative Object Editing ● Model based with error detection ● Imperative Script Execution ● T-SQL Intelligence Modern Design ● Code-behind Table Designer ● View/Edit/Script Data (incl. copy/paste) ● Execute/Debug T-SQL Procedures, Functions Buffered Declarative Editing Graphical Table Designer
  • 9. Project-based Development Visual Studio IDE ● Database definition managed in VS project ● Database artifacts using same/similar gestures as application code. ● Multi-target to SQL Server {2005-2014} or SQL Azure Advancements ● Language Services for T-SQL ● Go To Definition/Find All References/Refactoring ● F5 debugging with LocalDB Tightly Integrated ● Visualize schema differences and migrate changes ● Publish direct to database or via SQL script or DACPAC ● Point-in-time Snapshot ● Drag & Drop import from SQL Server Object Explorer
  • 10. Application Lifecycle & Tools Text/Icon/P ic MSBuild Tasks ● Build ● Publish ● T-SQL Static Code Analysis ● Database Unit Tests MSBuild Utilities ● Redist SSDTBuildUtiities.msi ● DB projects in build server ○ environment ● No need to install full copy of VS Standard Integration ● SSDT integrates with all standard VS SCCS providers ● DACFX v3 ● Schema compare ● Publish
  • 11. Target Version Aware ● SQL Server 2005 ● SQL Server 2008 ● SQL Server 2008 R2 ● SQL Server 2012 ● SQL Server 2014 ● SQL Server 2106 ● SQL Server Azure Publish ● Direct ● via SQL script ● DACPAC snapshots Publishing your Database Changes
  • 12. Schema Deployment DACFx SQL Server Management Studio SQLSQL Server Data Tools Azure Management Portals Windows Azure SQL Database SQL Server 2005, 2008/R2, 2012 Deploy/Upgrade Script/Report Reverse Engineer
  • 13. Demo Connected or Online Development Project Based Development Comparison & Publishing Continues Integration of SQL Deployment
  • 15. Import Existing DB Schema Tightly Integrated into VS IDE SQL Database project type Create New or Import Existing Schema from: - .dacpac - Existing database - .sql script
  • 21. SSDT Home Page http://msdn.microsoft.com/data/tools Downloads SSDT for VS2010/VS2012 - http://msdn.microsoft.com/en-us/data/hh297027 DACFx Redist - http://www.microsoft.com/en-us/download/details .aspx?id=34964 Docs, Forums, and Blog http://msdn.microsoft.com/en-us/library/hh272686.aspx http://social.msdn.microsoft.com/Forums/en-US/ssdt http://blogs.msdn.com/b/ssdt Resources
  • 22. Q&A