SlideShare a Scribd company logo
1 of 17
TO THE CLOUD WITH
SQL SERVER DATA TOOLS
Gert Drapers (@DataDude)
Principal Group Program Manager
SQL Server Data Platform
INTRODUCING SQL SERVER DATA TOOLS
DEPLOY DATABASE TO SQL AZURE




                               4
SQL AZURE VS. SQL SERVER, SOME OF THE DIFFERENCES…
Features not available include…                    Unsupported syntax includes…
  •   Common Language Runtime (CLR)                    •   USE DATABASE
  •   Filegroup management                             •   ON PRIMARY (Filegroups)
  •   Full-text Search                                 •   Tables must have a clustered index
                                                       •   Extended Properties
  •   Linked Servers
                                                       •   NOT FOR REPLICATION
  •   Distributed Transactions
                                                       •   ROWGUIDCOL
  •   Change Tracking
                                                       •   Various Index options (WITH)
  •   Service Broker                                   •   Windows logins
                                                       •   Various XML features
Features only on SQL Azure…
                                                       •   Encrypted objects
                                                       •   UDTs (CLR)

               http://msdn.microsoft.com/en-us/library/ee336253.aspx
               http://msdn.microsoft.com/en-us/library/windowsazure/ee336267.aspx
RETARGET TO SQL AZURE




                        6
SQL AZURE MIGRATION PROCESS
       • Assess database schema for compatibility
Assess • Assess application requirements


       • Update schema as required
Update • Update applications to match revised schema

       • Deploy schema, or
       • Update database and deploy schema + data
Deploy • Deploy applications and test
MIGRATION TO SQL AZURE WITH SSDT
• Conversion approaches
  • Import database schema into project and prune, or
  • Schema Compare into empty project excluding unsupported objects
• Validation
  • Set project target to SQL Azure and build
  • Fix validation errors and rebuild to confirm
• Deploy Schema
  • Publish schema to SQL Azure (direct, via scripts or dacpac)
• Deploy Schema + Data
  • Reset target and update original database to make it SQL Azure compliant
  • Use (SSMS) Deploy to SQL Azure… (uses bacpac)
FILTERING OUT UNSUPPORTED SQL AZURE OBJECTS
APPLICATION-SCOPED OBJECTS                            NON-APPLICATION SCOPED
•   Aggregates            •   Message Types            • All…
•   Application Roles     •   Partition Functions
•   Assemblies            •   Partition Schemes
•   Asymmetric keys       •   Queues
•   Broker Priorities     •   Remote Service Bindings
•   Certificates          •   Rules
•   Contracts             •   Sequences
•   Defaults              •   Services
•   Extended Properties   •   Symmetric Keys
•   Filegroups            •   User Defined Types (CLR)
•   Full Text Catalogs    •   XML Indexes
•   Full Text Indexes     •   XML Schema Collections
•   Full Text Stoplists   •   Users (if Windows users…)

       Use Schema Compare options to exclude these from comparison
DAC SCENARIOS




                10
SQL SERVER DATA TOOLS (SSDT)

Developer-focused toolset for authoring, building and publishing
DACPACs

Experiences Enabled
  • Connected Imperative and Declarative Development
  • Project Based Development
  • Application Lifecycle & Tools


DACPAC verbs
  •   Author DACPAC declaratively and build package from source
  •   Compare DACPAC to project, database, and other DACPACs
  •   Import DACPAC into project
  •   Publish DACPAC or Project to database
SQL SERVER MANAGEMENT STUDIO (SSMS)

DBA-focused tools for deploying and extracting DACPACs; importing
and exporting BACPACs

Experiences Enabled
   • Administration and Monitoring
   • Connected Imperative Development
   • Configuration and Task Wizards

 DACPAC Verbs Supported                        BACPAC Verbs Supported
 • Deploy Data Tier Application                • Import and Export Data Tier Application
 • Register/Unregister Data Tier Application   • Migrate Database to SQL Azure
 • Upgrade Data Tier Application
SQL AZURE MANAGEMENT PORTAL (SAMP)

Subscriber and Operator oriented toolset for managing SQL Azure
databases through DACfx Verbs

Experiences Enabled
• Connected Development
• Portal Based Tools
• Application Lifecycle support


DACPAC verbs supported            BACPAC Verbs supports (Via Blob Storage)
• Deploy Data Tier Application    • Export Data Tier Application
• Upgrade Data Tier Application   • Import Data Tier Application
• Extract Data Tier Application
DAC LIFECYCLE




   Developer                 DBA                 DBA/Admin
  Develop (SSDT)         Deploy (SSMS)           Manage (SSMS and SAMP)
  • Import Database/     • Deploy Package        • Export and Extract Packages
    DACPAC                 • New Databases       • Register Database as DAC
  • Author DAC             • Upgrade Databases
  • Compare and
    Synchronize Source
  • Compile Database
    Project to DACPAC
  • Publish DACPAC

                                                                                 14
SCHEMA DEPLOYMENT USING DACFX




                                15
RESOURCES

SQL Server Data Tools Online Installation
  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

More Related Content

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

To the cloud with SQL Server Data Tools

  • 1. TO THE CLOUD WITH SQL SERVER DATA TOOLS Gert Drapers (@DataDude) Principal Group Program Manager SQL Server Data Platform
  • 3.
  • 4. DEPLOY DATABASE TO SQL AZURE 4
  • 5. SQL AZURE VS. SQL SERVER, SOME OF THE DIFFERENCES… Features not available include… Unsupported syntax includes… • Common Language Runtime (CLR) • USE DATABASE • Filegroup management • ON PRIMARY (Filegroups) • Full-text Search • Tables must have a clustered index • Extended Properties • Linked Servers • NOT FOR REPLICATION • Distributed Transactions • ROWGUIDCOL • Change Tracking • Various Index options (WITH) • Service Broker • Windows logins • Various XML features Features only on SQL Azure… • Encrypted objects • UDTs (CLR) http://msdn.microsoft.com/en-us/library/ee336253.aspx http://msdn.microsoft.com/en-us/library/windowsazure/ee336267.aspx
  • 6. RETARGET TO SQL AZURE 6
  • 7. SQL AZURE MIGRATION PROCESS • Assess database schema for compatibility Assess • Assess application requirements • Update schema as required Update • Update applications to match revised schema • Deploy schema, or • Update database and deploy schema + data Deploy • Deploy applications and test
  • 8. MIGRATION TO SQL AZURE WITH SSDT • Conversion approaches • Import database schema into project and prune, or • Schema Compare into empty project excluding unsupported objects • Validation • Set project target to SQL Azure and build • Fix validation errors and rebuild to confirm • Deploy Schema • Publish schema to SQL Azure (direct, via scripts or dacpac) • Deploy Schema + Data • Reset target and update original database to make it SQL Azure compliant • Use (SSMS) Deploy to SQL Azure… (uses bacpac)
  • 9. FILTERING OUT UNSUPPORTED SQL AZURE OBJECTS APPLICATION-SCOPED OBJECTS NON-APPLICATION SCOPED • Aggregates • Message Types • All… • Application Roles • Partition Functions • Assemblies • Partition Schemes • Asymmetric keys • Queues • Broker Priorities • Remote Service Bindings • Certificates • Rules • Contracts • Sequences • Defaults • Services • Extended Properties • Symmetric Keys • Filegroups • User Defined Types (CLR) • Full Text Catalogs • XML Indexes • Full Text Indexes • XML Schema Collections • Full Text Stoplists • Users (if Windows users…) Use Schema Compare options to exclude these from comparison
  • 11. SQL SERVER DATA TOOLS (SSDT) Developer-focused toolset for authoring, building and publishing DACPACs Experiences Enabled • Connected Imperative and Declarative Development • Project Based Development • Application Lifecycle & Tools DACPAC verbs • Author DACPAC declaratively and build package from source • Compare DACPAC to project, database, and other DACPACs • Import DACPAC into project • Publish DACPAC or Project to database
  • 12. SQL SERVER MANAGEMENT STUDIO (SSMS) DBA-focused tools for deploying and extracting DACPACs; importing and exporting BACPACs Experiences Enabled • Administration and Monitoring • Connected Imperative Development • Configuration and Task Wizards DACPAC Verbs Supported BACPAC Verbs Supported • Deploy Data Tier Application • Import and Export Data Tier Application • Register/Unregister Data Tier Application • Migrate Database to SQL Azure • Upgrade Data Tier Application
  • 13. SQL AZURE MANAGEMENT PORTAL (SAMP) Subscriber and Operator oriented toolset for managing SQL Azure databases through DACfx Verbs Experiences Enabled • Connected Development • Portal Based Tools • Application Lifecycle support DACPAC verbs supported BACPAC Verbs supports (Via Blob Storage) • Deploy Data Tier Application • Export Data Tier Application • Upgrade Data Tier Application • Import Data Tier Application • Extract Data Tier Application
  • 14. DAC LIFECYCLE Developer DBA DBA/Admin Develop (SSDT) Deploy (SSMS) Manage (SSMS and SAMP) • Import Database/ • Deploy Package • Export and Extract Packages DACPAC • New Databases • Register Database as DAC • Author DAC • Upgrade Databases • Compare and Synchronize Source • Compile Database Project to DACPAC • Publish DACPAC 14
  • 16. RESOURCES SQL Server Data Tools Online Installation 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

Editor's Notes

  1. Developer TrackSpeakerGert DrapersCodeSMS01Session TitleDatabase Development with SQL Server Data Tools Duration60 MinutesAbstractSQL Server Data Tools provides a brand-new developer experience for database developers by bringing familiar Microsoft Visual Studio development paradigms to bear; debug, refactor and maintain your database declaratively. This session introduces you to the new tools and how you can leverage them to build and maintain you SQL Server and SQL Azure database, standalone and inside a team environment.
  2. Developer-focused toolset for building SQL Server & SQL Azure databasesExperiences EnabledConnected DevelopmentProject Based DevelopmentApplication Lifecycle & ToolsFundamentalsDeclarative, model based database developmentIntegrated tools with modern language services Connected and offline with local testingTarget SQL Server and SQL AzureDetecting and managing database drift
  3. SQL Server Data Tools – SummaryDeveloper-focused toolset to author, debug and publish SQL Server & SQL Azure databasesSupports SQL PlatformFree, web updates for SQL Server and SQL Azure releasesWorks in concert with other SQL Server tooling (SAMP, SSMS)Compatible with your development environmentSupports Visual Studio 2010 & Visual Studio 11Migrates VS2010 database projects (*.dbproj)