DATABASE SCHEMA MANAGEMENT &DEPLOYMENT USING SQL SERVER DATATOOLS (SSDT)
SQL SERVER DATA TOOLS (SSDT)• Developer-focused toolset for building SQL Server & SQL Azure  databases• Core Experiences: ...
INTRODUCING SQL SERVER DATA TOOLS                          SQL Server Data ToolsSQL Server    SQL Static       Database   ...
SQL SERVER DATA TOOLS                                      Visual StudioDatabase isFX v3.0   DAC a project that builds int...
CONNECTED DEVELOPMENT
CONNECTED DEVELOPMENT• SQL Server Object Explorer (SSOX)  • Modeled after SSMS object explorer• Modern T-SQL Coding Experi...
PROJECT-BASED DEVELOPMENT
PROJECT-BASED DEVELOPMENT• Database definition managed in a Visual Studio project• Multi-target SQL Server {2005, 2008, 20...
APPLICATION LIFECYCLE & TOOLS• MSBuild tasks for:    • Build    • Publish    • T-SQL Static Code Analysis• MSBuild in a re...
K9JZ3TS
PUBLISHING & COMPARISON
PUBLISHING YOUR DATABASE CHANGES• Target version aware:  •   SQL Server 2005  •   SQL Server 2008 & SQL Server 2008 R2  • ...
DAC FRAMEWORK V3.0 (DACFX)• DAC Framework  • DACFX is the core SQL redist providing modeling, reverse engineering and    d...
DACPAC TRANSPORTABLE SCHEMA FORMAT
SQL SERVER DATA TOOLS – SUMMARY• Developer-focused toolset to author, debug and publish SQL Server &  SQL Azure databases•...
RESOURCES• Online Setup  • http://msdn.microsoft.com/data/tools Get It• Team blog  • http://blogs.msdn.com/b/ssdt/• MSDN ...
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Upcoming SlideShare
Loading in...5
×

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

3,295

Published on

Speaker: Gert Drapers

Download SQL Server 2012: http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,295
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
127
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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

  1. 1. DATABASE SCHEMA MANAGEMENT &DEPLOYMENT USING SQL SERVER DATATOOLS (SSDT)
  2. 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. 3. INTRODUCING SQL SERVER DATA TOOLS SQL Server Data ToolsSQL Server SQL Static Database SQL Buffered Object Code Analysis Publishing Language Declarative Explorer Services Editing Table Schema Isolated Local SQL/CLR SQLDesigner Comparison Database Debugging Runtime
  4. 4. SQL SERVER DATA TOOLS Visual StudioDatabase 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
  5. 5. CONNECTED DEVELOPMENT
  6. 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
  7. 7. PROJECT-BASED DEVELOPMENT
  8. 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. 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
  10. 10. K9JZ3TS
  11. 11. PUBLISHING & COMPARISON
  12. 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. 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
  14. 14. DACPAC TRANSPORTABLE SCHEMA FORMAT
  15. 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. 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. 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.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×