SlideShare uma empresa Scribd logo
1 de 17
DATABASE SCHEMA MANAGEMENT &
DEPLOYMENT USING SQL SERVER DATA
TOOLS (SSDT)
SQL SERVER DATA TOOLS (SSDT)
• Developer-focused toolset for building SQL Server & SQL Azure
  databases

• Core Experiences:
  • Connected Development
  • Project Based Development
  • Application Lifecycle & Tools

• Fundamentals:
  •   Declarative, model based database development
  •   Integrated tools with modern language services
  •   Connected and offline with local testing
  •   Target SQL Server and SQL Azure
  •   Detecting and managing database drift
INTRODUCING SQL SERVER DATA TOOLS
                          SQL Server Data Tools

SQL Server    SQL Static       Database              SQL       Buffered
  Object     Code Analysis     Publishing         Language    Declarative
 Explorer                                          Services     Editing

 Table         Schema         Isolated Local      SQL/CLR        SQL
Designer     Comparison         Database                      Debugging
                                 Runtime
SQL SERVER DATA TOOLS

                                      Visual Studio
Database isFX v3.0
   DAC a project that builds into DACPAC
                                                   SSDT
                                                             T-SQL DOM

     LocalDB                                              T-SQL Compiler
  Code can be tested locally (F5)                 Syntax and semantic validation
                                                        during compilation

   Connectivity
                 Microsoft Confidential                        6/14/2011
CONNECTED DEVELOPMENT
CONNECTED DEVELOPMENT
• SQL Server Object Explorer (SSOX)
  • Modeled after SSMS object explorer
• Modern T-SQL Coding Experience
  • Buffered Declarative Object Editing
    o Model-based with Error Detection
  • Imperative Script Execution
  • T-SQL IntelliSense
• Code-behind Table Designer
• View/Edit/Script Data (incl. copy/paste)
• Execute/Debug T-SQL Procedures, Functions
PROJECT-BASED DEVELOPMENT
PROJECT-BASED DEVELOPMENT
• Database definition managed in a Visual Studio project
• Multi-target SQL Server {2005, 2008, 2008R2, 2012, Azure}
• Advanced Language Services for T-SQL
    • Go To Definition/Find All References/Refactoring
•   F5 debugging with LocalDB
•   Visualize schema differences and migrate changes
•   Publish direct to database or via SQL script or DACPAC
•   Integrated database drift detection
•   Point-in-time Snapshot
•   Drag & Drop import from SQL Server Object Explorer
APPLICATION LIFECYCLE & TOOLS
• MSBuild tasks for:
    • Build
    • Publish
    • T-SQL Static Code Analysis
• MSBuild in a redist (SSDTBuildUtilities.msi)
    • Database projects in build server environment (like Team Build) without
      installing full VS on build server
•   SSDT Integrates with all standard VS SCCS providers
•   DACFX v3
•   Schema Compare
•   Publish
K9JZ3TS
PUBLISHING & COMPARISON
PUBLISHING YOUR DATABASE CHANGES
• Target version aware:
  •   SQL Server 2005
  •   SQL Server 2008 & SQL Server 2008 R2
  •   SQL Server 2012
  •   SQL Azure
• Publish
  • Direct, via SQL script, or DACPAC snapshots
DAC FRAMEWORK V3.0 (DACFX)
• DAC Framework
  • DACFX is the core SQL redist providing modeling, reverse engineering and
    deployment pipeline capabilities
  • v3.0 supports the full domain of SQL Server 2005, 2008/R2, 2012, and SQL
    Azure
• Managed Public API
  • Exposes verbs for DACPAC and BACPAC operations
• Command-line tool (SqlPackage.exe)
  • Exposes DACPAC verbs, project publish
• DACUnpack.exe
  • Windows file handler for unpacking DACPAC to disk
• DACFX Clients
  • SSMS, SSDT, SAMP, I&E, VS Web and DB Publishing
DACPAC TRANSPORTABLE SCHEMA FORMAT
SQL SERVER DATA TOOLS – SUMMARY
• Developer-focused toolset to author, debug and publish SQL Server &
  SQL Azure databases

• Supports SQL Platform
  • Free, web updates for SQL Server and SQL Azure releases
  • Works in concert with other SQL Server tooling (SAMP, SSMS)
• Compatible with your development environment
  • Supports Visual Studio 2010 & Visual Studio 11
  • Migrates VS2010 database projects (*.dbproj)
RESOURCES

• Online Setup
  • http://msdn.microsoft.com/data/tools Get It
• Team blog
  • http://blogs.msdn.com/b/ssdt/
• MSDN Forum
  • http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads
• Articles
  • MSDN Magazine Sept 2011 The "Juneau" Database Project
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
    conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
                                        MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Mais conteúdo relacionado

Mais procurados

SharePoint & jQuery Guide - SPSNashville 2014
SharePoint & jQuery Guide - SPSNashville 2014SharePoint & jQuery Guide - SPSNashville 2014
SharePoint & jQuery Guide - SPSNashville 2014
Mark Rackley
 
Sql developer resume
Sql developer resumeSql developer resume
Sql developer resume
guest9db49b8
 

Mais procurados (20)

SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...
SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...
SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...
 
Music Downloading Website (HTML,CSS,PHP Presentation)
Music Downloading Website (HTML,CSS,PHP Presentation)Music Downloading Website (HTML,CSS,PHP Presentation)
Music Downloading Website (HTML,CSS,PHP Presentation)
 
05 entity framework
05 entity framework05 entity framework
05 entity framework
 
Challenges going mobile
Challenges going mobileChallenges going mobile
Challenges going mobile
 
Xml
XmlXml
Xml
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointSPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013
 
SharePoint & jQuery Guide - SPSNashville 2014
SharePoint & jQuery Guide - SPSNashville 2014SharePoint & jQuery Guide - SPSNashville 2014
SharePoint & jQuery Guide - SPSNashville 2014
 
SPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQuerySPTechCon DevDays - SharePoint & jQuery
SPTechCon DevDays - SharePoint & jQuery
 
SharePoint Saturday St. Louis - SharePoint & jQuery
SharePoint Saturday St. Louis - SharePoint & jQuerySharePoint Saturday St. Louis - SharePoint & jQuery
SharePoint Saturday St. Louis - SharePoint & jQuery
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have known
 
Sql developer resume
Sql developer resumeSql developer resume
Sql developer resume
 
A Power User's Intro to jQuery Awesomeness in SharePoint
A Power User's Intro to jQuery Awesomeness in SharePointA Power User's Intro to jQuery Awesomeness in SharePoint
A Power User's Intro to jQuery Awesomeness in SharePoint
 
ECS2019 - Managing Content Types in the Modern World
ECS2019 - Managing Content Types in the Modern WorldECS2019 - Managing Content Types in the Modern World
ECS2019 - Managing Content Types in the Modern World
 
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
 
Sql Portfolio
Sql PortfolioSql Portfolio
Sql Portfolio
 
Content query web part – get it all in one place and style it!
Content query web part – get it all in one place and style it!Content query web part – get it all in one place and style it!
Content query web part – get it all in one place and style it!
 
Bi Ppt Portfolio Elmer Donavan
Bi Ppt Portfolio  Elmer DonavanBi Ppt Portfolio  Elmer Donavan
Bi Ppt Portfolio Elmer Donavan
 

Destaque

Design of databases
Design of databasesDesign of databases
Design of databases
Hava91
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema Design
Iron Speed
 

Destaque (20)

Database Schema
Database SchemaDatabase Schema
Database Schema
 
Database schema
Database schemaDatabase schema
Database schema
 
Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012
 
Stress testing using SQLIOSIM and SQLIO
Stress testing using SQLIOSIM and SQLIOStress testing using SQLIOSIM and SQLIO
Stress testing using SQLIOSIM and SQLIO
 
What's new in SQL Server Integration Services 2012?
What's new in SQL Server Integration Services 2012?What's new in SQL Server Integration Services 2012?
What's new in SQL Server Integration Services 2012?
 
SQL Server 2012 and Big Data
SQL Server 2012 and Big DataSQL Server 2012 and Big Data
SQL Server 2012 and Big Data
 
SQL Server 2012 Best Practices
SQL Server 2012 Best PracticesSQL Server 2012 Best Practices
SQL Server 2012 Best Practices
 
Manga Influence
Manga InfluenceManga Influence
Manga Influence
 
Design of databases
Design of databasesDesign of databases
Design of databases
 
Obtenez votre brevet de pilotage de l’efficacité énergétique avec la BI Micro...
Obtenez votre brevet de pilotage de l’efficacité énergétique avec la BI Micro...Obtenez votre brevet de pilotage de l’efficacité énergétique avec la BI Micro...
Obtenez votre brevet de pilotage de l’efficacité énergétique avec la BI Micro...
 
Création de visuels personnalisés avec Power BI Visuals CLI
Création de visuels personnalisés avec Power BI Visuals CLICréation de visuels personnalisés avec Power BI Visuals CLI
Création de visuels personnalisés avec Power BI Visuals CLI
 
Download White Paper : CMDB Implementations - A Tale of Two Extremes
Download White Paper : CMDB Implementations - A Tale of Two ExtremesDownload White Paper : CMDB Implementations - A Tale of Two Extremes
Download White Paper : CMDB Implementations - A Tale of Two Extremes
 
Création de visuels personnalisés avec Power BI Visuals CLI
Création de visuels personnalisésavec Power BI Visuals CLICréation de visuels personnalisésavec Power BI Visuals CLI
Création de visuels personnalisés avec Power BI Visuals CLI
 
CMDB Basics
CMDB BasicsCMDB Basics
CMDB Basics
 
2008-09-30 Présentation Générale SQL Server 2008
2008-09-30 Présentation Générale SQL Server 20082008-09-30 Présentation Générale SQL Server 2008
2008-09-30 Présentation Générale SQL Server 2008
 
Distributed database system
Distributed database systemDistributed database system
Distributed database system
 
Building a devops CMDB
Building a devops CMDBBuilding a devops CMDB
Building a devops CMDB
 
Managing your tech career
Managing your tech careerManaging your tech career
Managing your tech career
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema Design
 
6 relational schema_design
6 relational schema_design6 relational schema_design
6 relational schema_design
 

Semelhante a Database Schema Management & Deployment using SQL Server Data Tools (SSDT)

SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
Andrew Brust
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DAC
sqlserver.co.il
 
Microsoft Cloud BI Update 2012 for SQL Saturday Philly
Microsoft Cloud BI Update 2012 for SQL Saturday PhillyMicrosoft Cloud BI Update 2012 for SQL Saturday Philly
Microsoft Cloud BI Update 2012 for SQL Saturday Philly
Mark Kromer
 

Semelhante a Database Schema Management & Deployment using SQL Server Data Tools (SSDT) (20)

Database CI Demo Using Sql Server
Database CI  Demo Using Sql ServerDatabase CI  Demo Using Sql Server
Database CI Demo Using Sql Server
 
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
 
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
 
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
 
Rapid SQL Datasheet - The Intelligent IDE for SQL Development
Rapid SQL Datasheet - The Intelligent IDE for SQL DevelopmentRapid SQL Datasheet - The Intelligent IDE for SQL Development
Rapid SQL Datasheet - The Intelligent IDE for SQL Development
 
Ow
OwOw
Ow
 
Инструменты программиста
Инструменты программистаИнструменты программиста
Инструменты программиста
 
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
 
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
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DAC
 
Database projects within visual studio
Database projects within visual studioDatabase projects within visual studio
Database projects within visual studio
 
Develop your database with Visual Studio
Develop your database with Visual StudioDevelop your database with Visual Studio
Develop your database with Visual Studio
 
Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)
 
Microsoft Cloud BI Update 2012 for SQL Saturday Philly
Microsoft Cloud BI Update 2012 for SQL Saturday PhillyMicrosoft Cloud BI Update 2012 for SQL Saturday Philly
Microsoft Cloud BI Update 2012 for SQL Saturday Philly
 
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
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
 
SQL Server Deployments made easy with DACPAC
SQL Server Deployments made easy with DACPACSQL Server Deployments made easy with DACPAC
SQL Server Deployments made easy with DACPAC
 
Sql source control
Sql source controlSql source control
Sql source control
 
Kevin A Williams
Kevin A WilliamsKevin A Williams
Kevin A Williams
 
Rajnish singh(presentation on oracle )
Rajnish singh(presentation on  oracle )Rajnish singh(presentation on  oracle )
Rajnish singh(presentation on oracle )
 

Mais de Microsoft TechNet - Belgium and Luxembourg

Mais de Microsoft TechNet - Belgium and Luxembourg (20)

Windows 10: all you need to know!
Windows 10: all you need to know!Windows 10: all you need to know!
Windows 10: all you need to know!
 
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de KeukelaereConfiguration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
 
Windows 8.1 a closer look
Windows 8.1 a closer lookWindows 8.1 a closer look
Windows 8.1 a closer look
 
So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.
 
Data Leakage Prevention
Data Leakage PreventionData Leakage Prevention
Data Leakage Prevention
 
Deploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr ClientsDeploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr Clients
 
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
 
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware UpdatingHands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
 
SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012
 
Jump start your application monitoring with APM
Jump start your application monitoring with APMJump start your application monitoring with APM
Jump start your application monitoring with APM
 
What’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent ChatWhat’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent Chat
 
What's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & DevicesWhat's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & Devices
 
Office 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and managementOffice 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and management
 
Office 365 Identity Management options
Office 365 Identity Management options Office 365 Identity Management options
Office 365 Identity Management options
 
SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options
 
The application model in real life
The application model in real lifeThe application model in real life
The application model in real life
 
Microsoft private cloud with Cisco and Netapp - Flexpod solution
Microsoft private cloud with Cisco and Netapp -  Flexpod solutionMicrosoft private cloud with Cisco and Netapp -  Flexpod solution
Microsoft private cloud with Cisco and Netapp - Flexpod solution
 
Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise
 
Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management
 
Network Management in System Center 2012 SP1 - VMM
Network Management in System Center 2012  SP1 - VMM Network Management in System Center 2012  SP1 - VMM
Network Management in System Center 2012 SP1 - VMM
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Database Schema Management & Deployment using SQL Server Data Tools (SSDT)

  • 1. DATABASE SCHEMA MANAGEMENT & DEPLOYMENT USING SQL SERVER DATA TOOLS (SSDT)
  • 2. SQL SERVER DATA TOOLS (SSDT) • Developer-focused toolset for building SQL Server & SQL Azure databases • Core Experiences: • Connected Development • Project Based Development • Application Lifecycle & Tools • Fundamentals: • Declarative, model based database development • Integrated tools with modern language services • Connected and offline with local testing • Target SQL Server and SQL Azure • Detecting and managing database drift
  • 3. INTRODUCING SQL SERVER DATA TOOLS SQL Server Data Tools SQL Server SQL Static Database SQL Buffered Object Code Analysis Publishing Language Declarative Explorer Services Editing Table Schema Isolated Local SQL/CLR SQL Designer Comparison Database Debugging Runtime
  • 4. SQL SERVER DATA TOOLS Visual Studio Database isFX v3.0 DAC a project that builds into DACPAC SSDT T-SQL DOM LocalDB T-SQL Compiler Code can be tested locally (F5) Syntax and semantic validation during compilation Connectivity Microsoft Confidential 6/14/2011
  • 6. CONNECTED DEVELOPMENT • SQL Server Object Explorer (SSOX) • Modeled after SSMS object explorer • Modern T-SQL Coding Experience • Buffered Declarative Object Editing o Model-based with Error Detection • Imperative Script Execution • T-SQL IntelliSense • Code-behind Table Designer • View/Edit/Script Data (incl. copy/paste) • Execute/Debug T-SQL Procedures, Functions
  • 8. PROJECT-BASED DEVELOPMENT • Database definition managed in a Visual Studio project • Multi-target SQL Server {2005, 2008, 2008R2, 2012, Azure} • Advanced Language Services for T-SQL • Go To Definition/Find All References/Refactoring • F5 debugging with LocalDB • Visualize schema differences and migrate changes • Publish direct to database or via SQL script or DACPAC • Integrated database drift detection • Point-in-time Snapshot • Drag & Drop import from SQL Server Object Explorer
  • 9. APPLICATION LIFECYCLE & TOOLS • MSBuild tasks for: • Build • Publish • T-SQL Static Code Analysis • MSBuild in a redist (SSDTBuildUtilities.msi) • Database projects in build server environment (like Team Build) without installing full VS on build server • SSDT Integrates with all standard VS SCCS providers • DACFX v3 • Schema Compare • Publish
  • 12. PUBLISHING YOUR DATABASE CHANGES • Target version aware: • SQL Server 2005 • SQL Server 2008 & SQL Server 2008 R2 • SQL Server 2012 • SQL Azure • Publish • Direct, via SQL script, or DACPAC snapshots
  • 13. DAC FRAMEWORK V3.0 (DACFX) • DAC Framework • DACFX is the core SQL redist providing modeling, reverse engineering and deployment pipeline capabilities • v3.0 supports the full domain of SQL Server 2005, 2008/R2, 2012, and SQL Azure • Managed Public API • Exposes verbs for DACPAC and BACPAC operations • Command-line tool (SqlPackage.exe) • Exposes DACPAC verbs, project publish • DACUnpack.exe • Windows file handler for unpacking DACPAC to disk • DACFX Clients • SSMS, SSDT, SAMP, I&E, VS Web and DB Publishing
  • 15. SQL SERVER DATA TOOLS – SUMMARY • Developer-focused toolset to author, debug and publish SQL Server & SQL Azure databases • Supports SQL Platform • Free, web updates for SQL Server and SQL Azure releases • Works in concert with other SQL Server tooling (SAMP, SSMS) • Compatible with your development environment • Supports Visual Studio 2010 & Visual Studio 11 • Migrates VS2010 database projects (*.dbproj)
  • 16. RESOURCES • Online Setup • http://msdn.microsoft.com/data/tools Get It • Team blog • http://blogs.msdn.com/b/ssdt/ • MSDN Forum • http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads • Articles • MSDN Magazine Sept 2011 The "Juneau" Database Project
  • 17. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.