Declarative Database Development with SQL Server Data Tools

Post on 13-Dec-2014

1.058 views 4 download

Tags:

description

SQLBits X presentation, Declarative Database Development with SQL Server Data Tools (SSDT) Database development is complicated by nature! Database engines are stateful, so data loss is always a risk; object dependencies determine the order in which changes need to be applied and the loosely coupled nature of the SQL language can result in unexpected runtime errors. These are just a small collection of examples why database development is hard. The SQL Server Data Tools (SSDT) development environment helps developers getting a better handle on database development, testing, deployment and migrations. The declarative nature lets the developer focus on the final state they want, instead of writing an imperative script on how to change the state of the database directly

Transcript of Declarative Database Development with SQL Server Data Tools

DATABASE DEVELOPMENT WITH SQL SERVER DATA TOOLS

Gert Drapers (@DataDude)Principal Group Program ManagerSQL Server Data Platform

CONNECTED DEVELOPMENT

PROJECT BASED DEVELOPMENT

SCHEMA DEPLOYMENT

INTRODUCING SQL SERVER DATA TOOLS

3

CONNECTED DEVELOPMENT

CONNECTED DEVELOPMENT

Drift Detection

Schema Comparison

SQL Server Object Explorer

T-SQL Editor

Table Designer

Error Information

T-SQL IntelliSense

View Code

View/Edit Data

T-SQL Debugging

5

PROJECT BASED DEVELOPMENT

PROJECT BASED DEVELOPMENT

Go To Definition

Find All References

Refactoring

Point-in-time Snapshots

T-SQL Static Code Analysis

Source Code Based

F5 Debugging & Testing with

LocalDB

Source Code Control

MSBuild

Headless Command Line

Tools

Visualize Schema Differences

7

SCHEMA DEPLOYMENT

SCHEMA DEPLOYMENT

Incremental Schema

Deployment

Model Based DACPAC

SQL ScriptRetargeting

Support

SQL Server 2005SQL Server 2008SQL Server 2012

SQL Azure

Format

Engine

API & REDIST

Connected

DeclarativeStandard Formats

Multi-Targeting DAC

DAC

SQL Server Data Tools SQL Server Management Studio

PublishCompare Sync

ImportExport

RegisterUnregister

SQL Azure Management Portal

10

COMMAND LINE OPERATIONS

CONNECTED DEVELOPMENT

PROJECT BASED DEVELOPMENT

SCHEMA DEPLOYMENT

DeclarativeStandard Formats

Multi-Targeting DAC

RESOURCES

SQL Server Data Tools Online Installationhttp://msdn.microsoft.com/data/tools Get It

Team Bloghttp://blogs.msdn.com/b/ssdt/

MSDN Forumhttp://social.msdn.microsoft.com/Forums/en-US/ssdt/threads

ArticlesMSDN Magazine Sept 2011 The "Juneau" Database Project

13