New Features
in SQL Server 2008
Vu Tuyet Trinh
[email protected]
Hanoi University of Technology
SQL Server 2008
Microsoft Data Platform
Microsoft
MS. SQL Server 2008
Productivity
Challenges
Microsoft
MS. SQL Server 2008
Productivity
Solutions
Microsoft
MS. SQL Server 2008
Comprehensive Data Platform
Challenges
Microsoft
MS. SQL Server 2008
Comprehensive Data Platform
Solutions
Microsoft
MS. SQL Server 2008
ADO.NET Entity Data Model (EF)
Easy to understand conceptual data model
Easy to design and develop applications
Easy to maintain applications
Get started quickly with the automatic creation of
entities
Data programming better with IntelliSense
http://msdn2.microsoft.com/en-
us/library/aa697427(vs.80).aspx
Microsoft
MS. SQL Server 2008
LINQ
Microsoft
MS. SQL Server 2008
Scalability
Challenges
Microsoft
MS. SQL Server 2008
Scalability
Solutions
Microsoft
MS. SQL Server 2008
A New Statement: MERGE
Allows you to merge two tables together based on a set of
criteria
Useful for synchronizing data
Great for consolidating in a Data Warehouse
MERGE DataTable2 AS mainData
USING (SELECT ID, DataValue FROM DataTable1) otherData
ON (mainData.ID = otherData.ID)
WHEN MATCHED THEN UPDATE SET Msg = 'MATCHED'
WHEN TARGET NOT MATCHED THEN INSERT VALUES (ID,
DataValue, 'TARGET NOT MATCHED')
WHEN SOURCE NOT MATCHED THEN UPDATE SET Msg =
'SOURCE
Books NOT MATCHED';
Online: http://msdn2.microsoft.com/en-us/library/bb510625(SQL.100).aspx
Microsoft
MS.Query
SQL above
Server 2008 from Ben Hall’s Blog
referenced
GO
http://blog.benhall.me.uk/2007/06/sql-server-2008-sql-merge-statement.html
Developer Business Intelligence
Reporting Service in 2008
Built-in forms authentication
Report Server application embedding
Office integration
Microsoft
MS. SQL Server 2008
SQL Server Integration Services (SSIS)
Pipeline
Data Integration packages Scale more
effectively
Making use of available resources and managing the
largest enterprise-scale workloads by using all
available processors.
SSIS Persistent Lookups
SSIS increases the performance of lookups to support
the largest tables.
Microsoft
MS. SQL Server 2008
New Data Types
Spatial data
Geography & Geometry Data Type
Filestreams
New Date&Time
DATE
TIME
DATETIMEOFFSET
DATETIME2
HierarchyID
Microsoft
MS. SQL Server 2008
Application Extensibility
Standard Format Support
Microsoft
MS. SQL Server 2008
Application Extensibility
Data Programmability
Microsoft
MS. SQL Server 2008
Conclusion
Microsoft
MS. SQL Server 2008
SQL Server 2008
Microsoft Data Platform
Microsoft
MS. SQL Server 2008