37
SQL Azure Tools Lynn Langit Sr. Developer Evangelist – Microsoft @lynnlangit

SQLAzure for SQL Saturday #95

Embed Size (px)

DESCRIPTION

deck from presentation at SQL Saturday in September 2011 in San Diego, CA

Citation preview

Page 1: SQLAzure for SQL Saturday #95

SQL Azure ToolsLynn LangitSr. Developer Evangelist – Microsoft@lynnlangit

Page 2: SQLAzure for SQL Saturday #95

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (Juneau –or SSDT)/ LightSwitch• OData, WCF Data Services

• Session Takeaway:

– SQL Azure has a variety of tools – Use the right tool for the task(s)

Note: we are covering RELATIONAL cloud database options here only. For information about non-relational cloud data structures - (i.e. NoSQL, etc…) see this link

Page 3: SQLAzure for SQL Saturday #95

Extending SQL Server to the Cloud

Symmetry with Traditional RDBMS

Enterprise-class “scale-up” data platform

Multiple hardware platforms and deployment options

Deploy as dedicated server in customer datacenter, VM or 3rd party

Typically licensed per-server or per processor

Distributed “scale-out” database service

Abstracts OS and hardware management

Low-friction provisioning, multi-tenant

Automatic high-availability and data replication

Pay-as-you-go and commitment offers

Familiar T-SQL relational modelSupport existing code libraries and protocolsEcosystem of familiar development and management tools

Page 4: SQLAzure for SQL Saturday #95

SQL Azure Portal

Silverlight-based tools

demo

Page 5: SQLAzure for SQL Saturday #95

SQL Azure Portal

Page 6: SQLAzure for SQL Saturday #95

Manage Server

Page 7: SQLAzure for SQL Saturday #95

Import/Export• Dac Import/Export hosted

as a service• Now enabled in the portal• Codeplex project – here

Page 8: SQLAzure for SQL Saturday #95

Database Management Portal

• Logon

Page 9: SQLAzure for SQL Saturday #95

Database information

Page 10: SQLAzure for SQL Saturday #95

Database Schema Management

Page 11: SQLAzure for SQL Saturday #95

SQL Azure Reporting Beta

Page 12: SQLAzure for SQL Saturday #95

ODATA and WCF Data Services

demo

Page 13: SQLAzure for SQL Saturday #95

SQL Azure Labs

• Portal Location for CTP (Beta) content• http://www.sqlazurelabs.com

Page 14: SQLAzure for SQL Saturday #95

About OData

Page 15: SQLAzure for SQL Saturday #95

About SQL Azure & OData

Page 16: SQLAzure for SQL Saturday #95

SQL Server Management Studio

SQL Server Denali CTP 3--Connection Info--UAC --DACPAC

demo

Page 17: SQLAzure for SQL Saturday #95

About SQL Azure & SSMS 2008 R2 SP1

Be sure to update to SP1 - here

Page 18: SQLAzure for SQL Saturday #95

About SQL Azure & SSMS (Denali)

Page 19: SQLAzure for SQL Saturday #95

Visual Studio 2010 SP1Included tools--Server Explorer--Entity Framework--DACPAC--Refactoring--Intellisense

demo

Page 20: SQLAzure for SQL Saturday #95

Project “Juneau” (CTP 3)SQL Server Developer Tools in Visual Studio

• Can target SQL Azure (version targeting)• Server Explorer– Can Snapshot project (database)– Can Schema compare– Supports entity framework

• Improved Intellisense– Error syntax highlighting– Easier refactoring– Easier debugging (including stored procs)

Page 21: SQLAzure for SQL Saturday #95

SSDT Architecture

Page 22: SQLAzure for SQL Saturday #95

Visual Studio 2010 SP1

“Juneau” -- SQL Server Developer Tools

demo

SQL Server Developer ToolsCodename “Juneau”

Page 23: SQLAzure for SQL Saturday #95

Juneau in Visual Studio

• Server Explorer– Data Connections– New Node – SQL Server

• Connect to SQL Azure

• Connect to SQL Server

• LocalDB

• Can work online or offline

Page 24: SQLAzure for SQL Saturday #95

New – Table Designer in Visual Studio

Page 25: SQLAzure for SQL Saturday #95

Offline Projects – Visual Studio

New Project Type --Set Source connection--Set Target project--Set Import settings--Creates Off-line Project

Page 26: SQLAzure for SQL Saturday #95

SSDT Schema Compare

Page 27: SQLAzure for SQL Saturday #95

Refactoring• Find All Dependencies• Rename with Preview• Intellisense

Page 28: SQLAzure for SQL Saturday #95

Version Targeting & Publishing

Page 29: SQLAzure for SQL Saturday #95

More About Juneau• Table Designer• Schema Compare• Refactoring (find all references & go to definition)• SSDT project (to create objects)• Debug/test w/local DB• Publish (sync and/or apply incremental updates)

Page 30: SQLAzure for SQL Saturday #95

Visual Studio Light Switch

demo

Page 31: SQLAzure for SQL Saturday #95

Visual Studio Light Switch

• Beth Massi blog – Azure and Light Switch

– here

Page 32: SQLAzure for SQL Saturday #95

Other tools

• PowerShell• Command-line

• SQLCMD• bcp

• CodePlex tools• SQL Azure Migration Wizard

• 3rd party tools• Cerebrata, RedGate (www.queryanywhere.com), Quest

Page 34: SQLAzure for SQL Saturday #95

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (Juneau –or SSDT)/ LightSwitch• PowerShell, Command-Line, Open Source, 3rd Party

• Session Takeaway:

– SQL Azure has a variety of tools – Use the right tool for the task(s)

Page 35: SQLAzure for SQL Saturday #95

Resources

• Windows Azure Platform Blog - here• MSDN SSDT section• MSDN Forum – here• SSDT Team Blog - here • Tip: Watch for information from SQLPass – here • Oct 11-14, 2011 in Seattle

Page 36: SQLAzure for SQL Saturday #95

Other Related Content

• Lynn’s Resources– http://blogs.msdn.com/SoCalDevGal– Twitter - @lynnlangit– http://www.slideshare.net/lynnlangit

Page 37: SQLAzure for SQL Saturday #95

www.TeachingKidsProgramming.org

• Do a Recipe Teach a Kid (Ages 10 ++)• Microsoft SmallBasic Free Courseware (recipes)