Professional Documents
Culture Documents
Gavin Campbell
Why are
we here
SOFTWARE
Why do we
have
software?
CHANGE
Image: public.resource.org
HARDWARE
Database Changes
How can we
make database
changes without
destroying our
data?
DEMO
Declarative vs Imperative
Programming
Describe what we want
Describe how to do it
Declarative vs Imperative
Programming
Look Familiar?
SSDT
A better mousetrap?
Development
Experience
Deployment Tools
WHATS IN A NAME?
Visual Studio 2005 Team Edition for Database
Professionals (aka DataDude)
Visual Studio Team System 2008 Database Edition
Visual Studio Team System 2008 Database Edition
GDR
Visual Studio 2010 Database Projects (aka DBPro)
Project Juneau
SQL Server Data Tools
INSTALLING SSDT?
Installing SSDT?
Installing SSDT?
SSDT
A better mousetrap?
Development
Experience
Deployment Tools
CONNECTED DEVELOPMENT
Using the SQL Server Object Explorer in Visual
Studio, developers can now create, edit and
browse database objects located in either an onpremise database server, such as SQL Server
2008 or Microsoft SQL Server 2012, or offpremise in SQL Azure.
http://msdn.microsoft.com/en-us/library/hh272679%28v=vs.103%29.aspx
DEMO
CONNECTED DEVELOPMENT
CONNECTED
DEVELOPMENT
Software Development
Code
Deploy
Build
Test
Database Development?
http://www.flickr.com/photos/aiwells/4675530418
http://msdn.microsoft.com/en-us/library/hh272702%28v=vs.103%29.aspx
DEMO
SSDT
A better mousetrap?
Development
Experience
Deployment Tools
SQLPackage.exe
Extract: Creates a database snapshot (.dacpac)
file from a live SQL Server or Windows Azure SQL
Database.
Publish: Incrementally updates a database
schema to match the schema of a source .dacpac
file. If the database does not exist on the server,
the publish operation will create it. Otherwise, an
existing database will be updated.
Script: Creates a Transact-SQL incremental
update script that updates the schema of a target
to match the schema of a source.
SQLPackage.exe
Provides greater flexibility than the SSMS
Wizard
Can be automated using PowerShell, .bat files,
Continuous Integration tools, etc.
SUMMARY
Easier Development
with SSDT
Easier Deployment
with DacFX
More information
SSDT Team Blog
http://blogs.msdn.com/b/ssdt/
Jamie Thomson
http://sqlblog.com/blogs/jamie_thomson/arc
hive/tags/SSDT/default.aspx
Technitrain London 3-4 March 2014
THANK YOU