Download presentation
Presentation is loading. Please wait.
Published byMegan Logan Modified over 8 years ago
1
Leverage SQL Server 2008 in Your.Net Code with Visual Studio 2008 SP1 David Sackstein John Bryce Training http://blogs.microsoft.co.il/blogs/davids
2
Agenda Introduction Table Valued Parameters The new MERGE command Change Tracking FILESTREAM Q & A Summary
3
Table-Valued Parameters Efficient row-by-row operations A new type representing a table Stored commands may accept table arguments Accessible from ADO.NET 3.5
4
TVP Performance Time to insert 10,000 rows
5
DEMO Table-Valued Parameters
6
The MERGE command Flexible, efficient support for merging changes New SQL command supporting UPSERT and DELETE Can be combined with TVP
7
DEMO The MERGE Command
8
Change Tracking Enables synchronization between local cache and database Improved over SQL Server 2005 – No change of schema required Enabled at database and table level Recognized by the LocalCache wizard
9
DEMO Change Tracking
10
FILESTREAM A fast way to store and retrieve BLOBS Fast as NTFS Managed like data in the database Requires – Enabling at database – Secondary FileGroup with FileStream enabled Can be accessed from ADO using a stream object.
11
FILESTREAM Performance Throughput in MB/sec:
12
DEMO Streaming with FILESTREAM
13
Q & A
14
Summary Introduction Table Valued Parameters The new MERGE command Change Tracking FILESTREAM
15
Additional Resources What’s new in SQL Server 2008 on MSDN http://blogs.msdn.com/bursteg http://blogs.msdn.com/davids My email: davids@johnbryce.co.il
16
Related Sessions DEV403: A Deep Dive into LINQ Eran Sharabi 16:00 – 17:10 Galil Hall (1) LAB05: ADO.Net Entity Framework Shimon Dahan 16:00 – 17:10 Golan Hall (-1) PNL04: Data Security Nimrod Luria 14:00 – 15:00 Sharon Hall (-1)
18
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.