TO THE CLOUD WITHSQL SERVER DATA TOOLSGert Drapers (@DataDude)Principal Group Program ManagerSQL 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 in...
RETARGET TO SQL AZURE                        6
SQL AZURE MIGRATION PROCESS       • Assess database schema for compatibilityAssess • Assess application requirements      ...
MIGRATION TO SQL AZURE WITH SSDT• Conversion approaches  • Import database schema into project and prune, or  • Schema Com...
FILTERING OUT UNSUPPORTED SQL AZURE OBJECTSAPPLICATION-SCOPED OBJECTS                            NON-APPLICATION SCOPED•  ...
DAC SCENARIOS                10
SQL SERVER DATA TOOLS (SSDT)Developer-focused toolset for authoring, building and publishingDACPACsExperiences Enabled  • ...
SQL SERVER MANAGEMENT STUDIO (SSMS)DBA-focused tools for deploying and extracting DACPACs; importingand exporting BACPACsE...
SQL AZURE MANAGEMENT PORTAL (SAMP)Subscriber and Operator oriented toolset for managing SQL Azuredatabases through DACfx V...
DAC LIFECYCLE   Developer                 DBA                 DBA/Admin  Develop (SSDT)         Deploy (SSMS)           Ma...
SCHEMA DEPLOYMENT USING DACFX                                15
RESOURCESSQL Server Data Tools Online Installation  http://msdn.microsoft.com/data/tools Get ItTeam Blog  http://blogs.ms...
17
To the cloud with SQL Server Data Tools
Upcoming SlideShare
Loading in …5
×

To the cloud with SQL Server Data Tools

952 views

Published on

In this session we will provide an overview of how the SQL Server Data Tools (SSDT) can be leveraged as a cloud development and migration tool. Learn how easy it is to deploy an on-premise database to the cloud using SSDT and get insight into best practices and compatibility issues when migrating from on-prem to SQL Azure. We will also cover how SSDT integrates with the SQL Azure Management Portal, Import/Export service, SQL Server Management Studio (SSMS) by leveraging the DACPAC schema format.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • http://dbmanagement.info/Tutorials/SQL_Server.htm
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
952
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
27
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide
  • 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.
  • 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
  • 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)
  • To the cloud with SQL Server Data Tools

    1. 1. TO THE CLOUD WITHSQL SERVER DATA TOOLSGert Drapers (@DataDude)Principal Group Program ManagerSQL Server Data Platform
    2. 2. INTRODUCING SQL SERVER DATA TOOLS
    3. 3. DEPLOY DATABASE TO SQL AZURE 4
    4. 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 featuresFeatures 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
    5. 5. RETARGET TO SQL AZURE 6
    6. 6. SQL AZURE MIGRATION PROCESS • Assess database schema for compatibilityAssess • Assess application requirements • Update schema as requiredUpdate • Update applications to match revised schema • Deploy schema, or • Update database and deploy schema + dataDeploy • Deploy applications and test
    7. 7. 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)
    8. 8. FILTERING OUT UNSUPPORTED SQL AZURE OBJECTSAPPLICATION-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
    9. 9. DAC SCENARIOS 10
    10. 10. SQL SERVER DATA TOOLS (SSDT)Developer-focused toolset for authoring, building and publishingDACPACsExperiences Enabled • Connected Imperative and Declarative Development • Project Based Development • Application Lifecycle & ToolsDACPAC 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
    11. 11. SQL SERVER MANAGEMENT STUDIO (SSMS)DBA-focused tools for deploying and extracting DACPACs; importingand exporting BACPACsExperiences 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
    12. 12. SQL AZURE MANAGEMENT PORTAL (SAMP)Subscriber and Operator oriented toolset for managing SQL Azuredatabases through DACfx VerbsExperiences Enabled• Connected Development• Portal Based Tools• Application Lifecycle supportDACPAC 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
    13. 13. 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
    14. 14. SCHEMA DEPLOYMENT USING DACFX 15
    15. 15. RESOURCESSQL Server Data Tools Online Installation http://msdn.microsoft.com/data/tools Get ItTeam Blog http://blogs.msdn.com/b/ssdt/MSDN Forum http://social.msdn.microsoft.com/Forums/en-US/ssdt/threadsArticles MSDN Magazine Sept 2011 The "Juneau" Database Project
    16. 16. 17

    ×