Introduction To Microsoft SQL Server 2008: Mission-Critical Platform
Introduction To Microsoft SQL Server 2008: Mission-Critical Platform
Introduction To Microsoft SQL Server 2008: Mission-Critical Platform
Introduction
This article presents the new data platform vision of Microsoft Corporation
and the next generation of data-driven applications. The key areas to support their
data platform vision: mission-critical enterprise data platform, dynamic development,
relational data, and business intelligence (BI).
This document covers the following contexts or features of SQL Server 2008.
• Microsoft data platform vision
1. Mission-Critical Platform
2. Dynamic Development
3. Beyond Relational Data
4. Pervasive Business Insight
• New features added to TSQL
SQL Server 2008 capabilities deliver on the four key areas of the data platform
vision.
Mission-Critical Platform
SQL Server 2008
Dynamic Development
Beyond Relational Data
Pervasive Business Insight
Mission-Critical Platform
SQL Server 2008 enables IT groups to be more productive by providing a more
secure, scalable, and manageable platform. SQL Server 2008 also protects valuable
information in existing applications and disconnected devices. In addition, SQL
Server 2008 delivers predictable query performance with an optimized platform.
Declarative Management Framework (DMF) is a new policy-based
management framework and it has the following benefits.
• Ensure compliance with policies for system configuration
• Prevent/monitor changes to the system by authoring policies for the
desired configuration.
• Reduce total cost of ownership by simplifying administration tasks
Dimension Design:
• Improved Supportability and Integration of Best Practices
• Enhance UI for creating and editing dimensions to guide users toward
designs that follow best practices.
These include: Finish Attribute Relationship Designer, Dimension structure
(presentation of attribute relationships), modification to wizards to align
output with best practices, simplifying creation of composite keys, and
AMO warnings (spanning all objects, not just dimensions)
Dynamic Development
SQL Server 2008, along with the .NET Framework, enables developers to build the
next generation of applications. Developers can be more productive because they
can work with business entities instead of tables and columns.
2
SQL Server 2008
The Object services layer of the ADO.NET stack enables materialization, change
tracking, and the persistence of data as CLR objects.
SQL Server 2008 introduces more efficient, optimized support that improves
performance and simplifies development and supports entities.
3
SQL Server 2008
complexity, and at the same time provide deep integration with the Microsoft Office
System.
Next-Generation Data Warehousing
SQL Serve 2008 provides data warehouse platform that enables organizations to
integrate data into the data warehouse faster, scale and manage growing volumes of
data and users, while delivering insights to all users.
Following are some of the advancements in data warehousing.
INSERT TRADES VALUES ('MSFT', 5); INSERT TRADES VALUES ('TXN', -5);
-- Apply changes to the STOCK table based on daily TRADES tracked in the TRADES table.
-- Delete a row from the STOCK table if all the STOCK has been sold.
-- Update the quantity in the STOCK table if you still hold some STOCK after the daily TRADES.
ON S.STOCK = T.STOCK
4
SQL Server 2008
GO
Example 2:
DECLARE @Code VARCHAR(3);
5
SQL Server 2008
Grouping Sets
Grouping Sets is an extension to the GROUP BY clause that lets users define multiple
grouping in the same query. Grouping Sets produce a single result set that is
equivalent to a UNION ALL of differently grouped rows, making aggregation querying
and reporting easier and faster.
Example:
SELECT year (order_date) AS Year, quarter (order_date) AS Quarter, COUNT (*) AS
Orders FROM sales_order GROUP BY GROUPING SETS ((Year, Quarter), (Year))
ORDER BY Year, Quarter