using sql server data tools
DESCRIPTION
Deck about SQL Server Data Tools - SSDTTRANSCRIPT
Using SSDTSQL Server Data
Tools@LynnLangit
Data Expertise / Lynn Langit
Industry awards• Microsoft – MVP for SQL Server • Google – GDE for Cloud Platform• 10Gen – Master for MongoDBPracticing ArchitectTechnical author / trainer• Google Cloud Series• SQL Server Series • Cloudera certified Developer• 2 books on SQL Server BIFormer MSFT FTE• 4 years
What is SSDT?
SSDT• SQL Server Data
Services• Part of Visual
Studio 2012
Set of services• SDLC• New “BIDS”• More
Integrated• Into Visual
Studio• Intro SSMS • Into Azure
Can reduce common ‘pains’ for SDLC
• “will it work with SQL 2008?”
• “will it work with SQL Azure?”
• “if I change the table name what will break in the code?”
• “why are the report results are incorrect here?”
• “why doesn’t it work on production?”
Schema synchronizati
on
Data synchronizati
on
Edition & Version
targeting Refactoring
4
SSDT Architecture
About SQL Server Data Tools
Work with and on SQL Server and SQL Azure databases from within Visual Studio using activities and techniques familiar to developers
Getting SQL Server Data Tools
SSDT Tools for SQL Server 2012
• Core tools – included in VS 2012• BIDS download -
http://www.microsoft.com/en-us/download/details.aspx?id=36843
8
Visual Studio 2012 Visual Studio 2010
• Core Tools - download• BIDS download - download
June 2013 – updates - data compare, extensibility, build & deployment, new schema model API, deployment contributor extensibility, build contributor extensibility
About DACPAC and BACPAC
Versioned container for database schema & more
To include data use a BACPAC
Designed to work with SQL Azure
9
April 2013
DemoWorking with DACPAC in SSMS
Details about DACfx
• Component for application lifecycle services for SQL Server and Windows Azure SQL Databases
• Supports deployment and management scenarios• Extracting/Exporting live database to DAC• Deploying DAC to new or existing database• Migrating from on-premise SQL Server to Windows Azure• Includes command line SqlPackage.exe to create .dacpac
and .bacpac• Requires Visual Studio 2012• Download both x86 and x64 versions if using x64 machine
11
April 2013
DemoGetting SSDT
SSDT in Visual Studio
New Explorer View in VSSQL Server Object Explorer
• Connect to SQL Azure• Connect to SQL Server• LocalDB
Can work online or offline
April 2013
DemosUsing SSDT with SQL Server Using SSDT with SQL Azure
New – Table Designer in Visual Studio
Offline Projects – Visual Studio
New Project Type --Set Source connection--Set Target project--Set Import settings--Creates Off-line Project
Add Database Reference
SSDT Schema Compare
Refactoring
• Find All Dependencies• Rename with Preview• Intellisense
Code Analysis Settings
Publishing
Version Targeting
SSDT is new ‘BIDS’
Create SSAS cubes (tabular and multi-dimensional)Create SSIS packagesCreate SSRS reports
23
April 2013
DemoUsing SSDT for Business Intelligence
Alternatives to SSDT
• Red Gate SQL Tools (SQL Compare, etc…)• TOAD for SQL Server• IDERA SQL Comparison toolset
25
Try it out
Determine versions of SQL and VS
Download all parts of SSDT needed
Try out DACPACs from SSMS
Try out BI functionality
Read the SSDT team blog
www.TeachingKidsProgramming.org• Free Courseware • Do a Recipe Teach a Kid (Ages 10 ++)• Java or Microsoft SmallBasic• C# on Pluralsight
• recipes)
VOTECONFIRMSHARE
Keep Learning
Twitter: @LynnLangitYouTube:http://www.youtube.com/user/SoCalDevGal
Hire me• To help build your BI/Big Data
solution• To teach your team next gen BI• To learn more about using NoSQL
solutions