View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
SQL Server 2008 R2 for Developers Lynn Langit Sr. Developer Evangelist Microsoft SESSION CODE: # DAT302 (c) 2011 Microsoft. All rights reserved.
SQL Server 2008 R2 – So Many Features… DACPACs (Data Tier Applications) T-SQL enhancements Geospatial data types XML data enhancements Filestreams (BLOBS) Sparse Columns Filtered indices and full-text search Entity Framework For Developers
Database Development Pain Points Developers SQL expertise Maintain script libraries Versioned deployments Keeping development/test/production synchronized Database administrators (DBAs) Hand reconcile upgrade scripts Schema/data portability Security/containment Management at scale
Working with DACPACs For developers in Visual Studio 2010 For DBAs in SQL Server Management Studio Supports SQL Server Supports SQL Azure Client-side framework Via a database model (in memory) Services to get ‘in/out’ of model (c) 2011 Microsoft. All rights reserved.
T-SQL Performance Enhancements MERGE and GROUPING SETS improvements Less scans through table Table-valued parameters improvements Less round trips to database Improvements for data warehouse queries Earlier predicate filtering Multiple bitmap iterators per query Plan Guide Improvements Easier to create plan guides Plan guides on DML statements Also: Object reference tracking makes schema and procedural code versioning less error-prone
T-SQL Improvements Recap Strongly typed table-valued parameters -- helps the database round trip problem Grouping Sets -- allow arbitrary group by clauses for subtotals and totals MERGE statement -- allows set-to-set comparison and multiple deterministic operations (ANSI standard compliance with extensions) Object reference tracking -- makes schema and procedural code versioning less error-prone
Entity Framework What is EF? Object/Relational Mapping (ORM) framework How to use EF query using LINQ retrieve & manipulate data as strongly typed objects LINQ to Entities provides IntelliSense Why use EF? work with relational data as domain-specific objects eliminates the need for most of the data access plumbing code that you previously wrote
New in SP1 (c) 2011 Microsoft. All rights reserved. •New or Improved Dynamic Management Views --sys.dm_exec_query_stats --additional columns (long-running queries) --new DMVs and XEvents on select performance counters are introduced to monitor OS configurations/resource conditions related to the SQL Server instance •Improved FORCESEEK index hint & New FORCESCAN query hint --syntax modified w/optional parameters allowing it to control the access method on the index even further --FORCESCAN complements the FORCESEEK hint allowing specifying ‘scan’ as the access method to the index •Improved DACPAC - (DAC Fx) improved database upgrades: --(DAC) Framework v1.1 and DAC upgrade wizard enable the new in-place upgrade service --New in-place upgrade service will upgrade the schema for an existing database in SQL Azure and the versions of SQL Server supported by DAC •New Disk space control for PowerPivot: --Introduces two new configuration settings that let you determine how long cached data stays in the system
SQL Server 2008 R2 – So Many New Features… For Developers DACPACs (Data Tier Applications) T-SQL enhancements Geospatial data types XML data enhancements Filestreams (BLOBS) Sparse Columns Filtered indices and full-text search Entity Framework 4.1
Next Steps LEARN MORE ABOUT SQL SERVER 2008 R2 http://www.microsoft.com/sqlserver/2008/en/us/whats-new.aspx DOWNLOAD SQL SERVER 2008 R2 http://www.microsoft.com/sqlserver/2008/en/us/r2.aspx UPGRADE TO SQL SERVER 2008 R2 http://www.microsoft.com/sqlserver/2008/en/us/how-to-buy.aspx
Related Content MSDN Webcast: New T-SQL Programmability Features in SQL Server 2008 (Event ID: 1032357753)
Microsoft SmallBasic Free Courseware (recipes)
Resources www.msteched.com/Australia Sessions On-Demand & Community www.microsoft.com/australia/learning Microsoft Certification & Training Resources http:// technet.microsoft.com/en-au Resources for IT Professionals http://msdn.microsoft.com/en-au Resources for Developers (c) 2011 Microsoft. All rights reserved.
Complete an Evaluation online and enter to WIN these prizes! <Prizes & Process TBC> (c) 2011 Microsoft. All rights reserved.