Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft

Similar presentations


Presentation on theme: "Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft"— Presentation transcript:

1 Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft Sweden @bjorn_eriksen

2 My native language is not English nor is it T-SQL

3 AlwaysOn Reliable Secondaries FileTable ColumnStore Index 15k Partitions SQL Server Data Tools Power View BI Semantic Model Data Quality Services Full-text Search Performance Distributed Replay Reporting Alerts ODBC Driver for Linux Statistical Semantic Search Windows Server Core Support Multiple Secondaries Availability Groups Default Scheme for Windows Groups T-SQL Enhancements Full Globe Spatial SSMS to Windows Azure Platform PowerPivot Enhancements Master Data Management Excel Add-in PowerShell 2.0 Support PHP & Java Connectivity SQL Audit for All Editions CDC Support for SSIS New SSIS Design Surface Online Operation Enhancements Multi-site Clustering Unstructured Data Performance Resource Governor Enhancements Database Recovery Advisor HA for StreamInsight Flexible Failover Policy Extended Events Enhancements Contained Database Authentication SharePoint Active Directory Support SQL Server Express LocalDB User-defined Audit Audit Filtering Audit Resilience FTS Support for Czech & Greek AlwaysOn Connection Director Ad Hoc Reporting SSIS Troubleshooting SSIS Package Management T-SQL Debugger Enhancements Spatial 2D Support Unstructured Data Performance

4 SQL Server Data Tools SQL Server Developer Tools Project ”Juneau” (SSDT)

5 SQL Database development is hard! Challenges –Databases are stateful entities in their very nature –Dependencies make managing and preserving the state even more challenging –Errors in SQL code are often found only when the code is executed –Synchronizing application and database versioning adds more layers of complexity –Targeting more than one version of SQL Server is very difficult to manage

6 Is there is a different way? Develop the database declaratively (CREATE), not imperatively (IF EXISTS (…) / ALTER ) Bring validation and verification into design time Use consistent tools when working connected or disconnected Develop locally in a sandbox (isolated); publish changes off box (shared) Bring application and database development into the same environment and source repository

7 Say hello to... SQL Server Data Tools –Database development environment shipping with SQL Server –Provide a true developer experience –Capabilities like refactoring, go to definition, find refs –Evolution of the ”datadude” (Visual Studio Team System for Database Developers)

8 Foundations of SQL Server Data Tools 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

9 DEMO new project and connected development

10 Connected Database Development –SQL Server Object Explorer –Rich T-SQL editing IntelliSense –Buffered Declarative Editing Model-based with Error Detection

11 DEMO disconnected development

12 Disconnected Database Development –Database definitions managed in Visual Studio –Advanced language services: Go To Definition Find All References Refactoring –F5 debugging with Local Database Runtime –Visualize schema differences & migrate schema changes –Synchronize project to database drift

13 DEMO publish changes

14 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

15 SQL Server Data Tools – Summary Ships with SQL Server 2012 –Hosted inside Visual Studio 2010 (Integrated shell+) Ships as part of Visual Studio vNext Pro+ –Replaces the existing Visual Studio database projects Supports SQL Server 2005 and higher & SQL Azure Online & Offline install and update –Using the Web Platform Installer Available for FREE as part of the SQL Server platform!

16 SQL Server Data Tools Resources MSDN Magazine Sept 2011 - The "Juneau“ Project –http://msdn.microsoft.com/en-us/magazine/hh394146.aspxhttp://msdn.microsoft.com/en-us/magazine/hh394146.aspx SSDT Team Blog –http://blogs.msdn.com/b/ssdt/http://blogs.msdn.com/b/ssdt/ MSDN Forum –http://social.msdn.microsoft.com/Forums/en- US/ssdt/threadshttp://social.msdn.microsoft.com/Forums/en- US/ssdt/threads Twitter #SQLDataTools

17 SQL Server Data Tools Resources Download the latest bits… –http://msdn.microsoft.com/en-us/data/tools.aspxhttp://msdn.microsoft.com/en-us/data/tools.aspx

18 @bjorn_eriksen THANK YOU!

19 For attending this session and PASS SQLRally Nordic 2011, Stockholm


Download ppt "Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft"

Similar presentations


Ads by Google