SS05 Product Guide
SS05 Product Guide
Summary: This guide highlights the most important aspects of Microsoft SQL
Server 2005. It is intended to help reviewers assess the scope and functionality of the
SQL Server 2005 data management and analysis platform. This guide assumes that you
are familiar with the basic features of enterprise databases and business intelligence
solutions.
SQL Server 2005 Product Guide
Contents
Introduction..................................................................................................... 1
Enterprise Data Management ........................................................................... 3
Productivity.................................................................................................. 3
Deploying robust applications .................................................................... 5
Manageability ............................................................................................... 6
Managing large databases ......................................................................... 6
Managing distributed databases ................................................................. 7
Availability ................................................................................................... 8
24-hour-a-day, 7-day-a-week availability .................................................... 8
Minimizing downtime ...............................................................................10
Performance................................................................................................11
Security......................................................................................................13
Surface-area reduction Advanced Security ..................................................13
Data encryption ......................................................................................13
SQL Server and Trustworthy Computing ..........................................................14
Developer Productivity................................................................................... 15
Improved development tools .........................................................................15
Visual Studio integration ..........................................................................15
Business Intelligence Development Studio ..................................................15
Cross-tier and cross-language debugging ...................................................16
Expanded language support...........................................................................16
CLR/.NET Framework integration ...............................................................17
Transact-SQL enhancements ....................................................................18
Extensibility ................................................................................................18
User-defined types and aggregates............................................................18
SQL Server Management Objects ..............................................................19
Analysis Management Objects ...................................................................19
Improved data access and Web services..........................................................19
ADO.NET 2.0/ADOMD.NET........................................................................20
XML support ................................................................................................21
XML data type ........................................................................................21
XQuery ..................................................................................................22
Web services support...............................................................................22
SQL Server 2005 Product Guide
Introduction
Microsoft® SQL Server™ 2005 is a next-generation data management and analysis
solution that helps organizations deliver increased value to their businesses by
decreasing the amount of effort that is required to maintain reliable systems, increasing
the speed of software development, and enabling companies to take full advantage of
their information assets. Information Services organizations continue to struggle in an
effort to balance delivering new capabilities to the business while maintaining the
existing business infrastructure.
SQL Server 2005 provides a comprehensive data platform that will help organizations of
any size to:
• Build, deploy, and manage enterprise applications that are more secure, scalable,
and reliable.
• Maximize Information Services productivity by reducing the complexity of building,
deploying, and managing database applications.
• Share data across multiple platforms, applications, and devices to make it easier to
connect internal and external systems.
• Control costs without sacrificing performance, availability, scalability, or security.
• Deliver increased business insights to a broader set of users across the organization.
SQL Server 2005 brings significant enhancements to enterprise data management,
developer productivity, and business intelligence.
• Enhancements in the area of enterprise data management enable users and
Information Services professionals across your organization to benefit from reduced
application downtime, increased scalability and performance, and tight security
controls.
• Developer productivity enhancements fundamentally change the way that database
applications are developed and deployed, thereby enabling faster development of
more reliable, more secure applications.
• Business intelligence enhancements deliver an end-to-end platform with integrated
analytics including online analytical processing (OLAP), data mining, extract,
transformation, and load (ETL) tools, data warehousing, and reporting functionality.
SQL Server 2005 includes the following tools.
• Relational database. Secure, reliable, scalable, highly available relational
database engine with improved performance and support for structured and
unstructured XML data.
• Replication Services. Data replication for distributed or mobile data processing
applications, high systems availability, scalable concurrency with secondary data
stores for enterprise reporting solutions, and integration with heterogeneous
systems, including existing Oracle databases.
• Notification Services. Advanced notification capabilities for the development and
deployment of scalable applications that can deliver personalized, timely information
updates to a variety of connected and mobile devices.
SQL Server 2005 Product Guide 2
SQLCMD
Automation capabilities including a new command-line interface, SQLCMD, allow the
creation of reusable scripts (script templates) by the introduction of script variables.
Script variables can be passed from the command line to the script.
SQLCMD also includes rich support for XML. Examples might be a backup script that is
run against various databases, or a table creation script that uses a variable table
name. SQLCMD allows scripts to be run against multiple servers by using a new
connection command. This allows the creation of a script that collects data, or performs
administrative tasks against multiple servers.
Maintenance plans
Use either the Maintenance Plan Wizard or design surface to create workflows for your
maintenance tasks. SQL Server 2005 adds a more transparent mechanism to make it
easier for you to understand which options are being used in a given maintenance plan.
In SQL Server 2005, every task provides the Transact-SQL statements that will be
executed based on the options specified in the maintenance plan. When the Transact-
SQL statements are configured, the user can select the View-SQL button to view the
statements that will be submitted at run time.
For example, you want to notify an Agent operator after you execute a custom
Transact-SQL script as part of your maintenance plan. To do this, you add an Execute
Transact-SQL Script task followed by the Notify Operator task. To establish the
workflow, add the On Completion, On Success, or On Failure precedence constraint. The
real power of workflow comes from the ability to perform multiple actions from these
tasks. Suppose that you also want to start an SQL Server Agent job if the Execute TSQL
task fails. You do this by adding another precedence constraint to the Execute T-SQL
task.
Manageability
SQL Server 2005 delivers powerful, productive management tools for DBAs. SQL
Server 2005 simplifies management by providing an integrated management
environment to monitor, manage, and tune all of the databases and associated services
across your enterprise. SQL Server 2005 provides an extensible management
infrastructure that can be easily programmed using SQL Management Objects (SMO),
enabling users to customize and extend their management environment and build
additional tools and functionality to further extend the capabilities that come out of the
box. Improvements to the management of enterprise database applications in the latest
release of SQL Server include improved support for large databases and more flexible
management of distributed databases.
In earlier versions of SQL Server, it was necessary to load each partition into a separate
table, define a view of the table, and then use a complex UNION statement to join the
views together for querying. In SQL Server 2005, partitions can be switched in or out of
an existing partition scheme very quickly, eliminating the need to create new tables,
index new tables, or spend time modifying the complex UNION to accommodate the
new table. This relieves the DBA of the repetitive processes previously necessary to
support the maintenance of partitioned data.
The ability to add and drop partitions from existing tables also addresses a common
data management problem faced by the DBA. This is the necessity of adding the most
recent month’s data at the end of the month, while dropping the data from the same
month from the previous year. With SQL Server 2005, this “sliding window” data
management problem is solved by bulk loading and indexing the new data outside of
the partition scheme. This is more efficient than methods used in previous versions.
Likewise, removing old data by dropping a partition from the partition scheme is much
quicker than the process used in previous versions of SQL Server 2005, which was to
execute a record-level DELETE process.
Replication Services
Replication Services supports bulk transfers of records where the chance of conflict with
another change record is small (merge replication). It also supports replication of one
record at a time in real-time to keep two separate databases continuously in
synchronization (transactional replication).
SQL Server 2005 Product Guide 8
SQL Server 2005 Replication Services introduces several new features that are designed
to reduce the amount of scripting required and to introduce new connectivity options.
These features include:
• Peer-to-peer transactional replication. This form of transactional replication for
small numbers of servers, assures very high availability through nearly real-time
replication of databases across networks.
• Oracle Data Replication. SQL Server 2005 can now act as a distributor of any
data available through the Oracle Publisher OCI interface for version 8 or later of
Oracle.
• Replication Monitor. This tool sets a new standard for ease of use in managing
complex data replication operations with its intuitive user interface and wealth of
data metrics.
• Web synchronization over HTTPS. Synchronizing remote databases no longer
requires a VPN; it requires just a secure HTTPS connection.
Availability
The importance of availability varies significantly between organizations and the
applications they use to manage their businesses. Investments in high-availability
technologies, additional backup and restore capabilities, and replication enhancements
enable enterprises to build and deploy highly available applications. Innovative high-
availability features such as database mirroring, failover clustering, database
snapshots, and enhanced online operations will minimize downtime and help to ensure
that critical enterprise systems remain accessible.
Database mirroring
Database mirroring takes log shipping to the next level by continuously streaming
transactions from a principal server to a mirror server. This type of configuration can be
used in situations with moderately large amounts of data, a network with sufficient
bandwidth to support the transaction load, and the need for physically dispersed backup
servers.
Database mirroring relies on a new copy-on-write technology that is included in SQL
Server 2005. This availability option requires three servers—a principal, a mirror and a
witness.
SQL Server 2005 Product Guide 9
The principal server writes each transaction to the database and then sends a copy of
the transaction to a mirror server, which applies the copied transaction as soon as it is
received. The witness assists the principal and the mirror to determine whether the
other is up and running. If the witness detects that the principal server is no longer
available, it instantly designates the mirror server as the new principal server and
redirects all client transactions to the new principal server. This failover process has
very low latency and can be used to resynchronize the failed principal when it comes
back online as the mirror.
Failover clustering
Failover clustering is designed for conditions where there is a concern about hardware
failure and there is a need to support high transaction rates. This solution is a
combination of SQL Server 2005 and Microsoft Windows® Server™ 2003 failover
clustering technologies. It can support up to eight nodes in a clustered configuration.
When the Microsoft Cluster Service detects that the primary server has failed, all
services running on the primary server are immediately started on a secondary server
and all client traffic is redirected to the secondary server. This type of configuration
works in situations where the servers are in close proximity, share common storage
devices, and are interconnected through a high-speed network. A related technique
known as stretch clustering allows primary and secondary servers to operate
asynchronously as a cluster across a WAN, but introduces a small possibility for
transaction loss during failover.
New in SQL Server 2005 is support for failover clustering in Analysis Services,
Notification Services, and Replication Services. With the addition of cluster awareness
to these services, critical business intelligence (BI) applications can have the same level
of high availability as other SQL Server applications.
SQL Server 2005 Product Guide 10
Table 1
Availability feature Database mirroring Failover clustering
Automatic failover Yes Yes
Transparent client Yes, Auto-Redirect Yes, reconnect to same IP
redirection
Failover time Fastest Fast
Impact on overall No impact to minimal No impact
throughput
Zero work loss Yes Yes
Requires certified No Yes
hardware
Provides redundant data Yes No
Replication
Replication is designed to increase data availability by distributing the data across
multiple database servers. Availability is increased by allowing applications to scale out
the SQL Server read workload across databases. SQL Server 2005 offers enhanced
replication using a new peer-to-peer model that provides a new topology in which
databases can be synchronized transactionally with any identical peer database.
In some scenarios, load balancing across a network can be achieved by having multiple
servers acting as peers across a geographically dispersed area. An example of this
might be the situation where two warehouses of a large food distributor independently
update inventory held at each warehouse. Each warehouse also updates copies of the
total inventory, sending copies of the updates to the other warehouse where Replication
Services can be used to keep the total inventory databases synchronized. This type of
application can tolerate asynchronous updates to keep the total inventory current at
both locations but with minor latency. If the server fails at one warehouse, the other
warehouse can continue to operate independently with a view of the total available
inventory.
Minimizing downtime
Every database occasionally requires that maintenance activities be performed to
maintain efficient operations. These activities are often scheduled for off hours to
minimize impact on operations. However, if they can be performed with little impact
during regular business hours, they will have much less effect on DBA resources.
SQL Server 2005 Product Guide 11
Online indexing
The ability to create, rebuild, or drop an index online is an enhanced feature of SQL
Server 2005 that augments the indexing capabilities of earlier versions. The online
index option allows concurrent modifications (updates, deletes, and inserts) to the
underlying table or clustered index data and any associated indexes during index data
definition language (DDL) execution. With support for online index operations, you can
add indexes without interfering with access to tables or other existing indexes.
Additionally, the server workload allows index operations to take advantage of parallel
processing.
Online restoration
SQL Server 2005 introduces the ability to perform a restore operation while an instance
of SQL Server is running. Online restoration capabilities improve the availability of SQL
Server because only the data that is being restored is unavailable. The rest of the
database remains online and available. Earlier versions of SQL Server require that you
bring a database offline before you restore the database.
Fast recovery
SQL Server 2005 improves the availability of SQL Server databases with a new faster
recovery option. For those times when it becomes necessary to roll back transactions,
users can now reconnect to the database after the transaction log has been rolled
forward and before the incomplete transactions have been rolled back. Earlier versions
of SQL Server required users to wait until incomplete transactions had rolled back, even
if the users did not need to access the affected parts of the database. This feature
shortens the outage window for database recovery.
Performance
SQL Server 2005 performance has been significantly improved with decision support
workloads, OLAP, data integration, and Full-Text Search. Scalability advancements such
as snapshot isolation and 64-bit support enable you to build and deploy your most
demanding applications using SQL Server 2005.
SQL Server 2005 Product Guide 12
Snapshot isolation
With SQL Server 2005 snapshot isolation, a copy of the committed data is taken, which
allows read operations to access the last-committed row even if a write operation has
the row locked for an update at that time. This introduces some level of inaccuracy into
query results because the query yields slightly different results if it is immediately rerun
for a new set of rows including the updates that were just committed. For many
applications, this very short-term inaccuracy is acceptable for queries that are designed
to show orders of magnitude rather than to report individual row values.
Database snapshot
SQL Server 2005 introduces the ability for DBAs to create instant, read-only, views of a
database. The database snapshot provides a stable view without the time or storage
overhead required when creating a complete copy of the database. As the primary
database diverges from the snapshot, the snapshot adds its own copy of pages as they
are modified. Thus, the snapshot may be used to quickly recover from an accidental
change to a database by reapplying the original pages from the snapshot to the primary
database.
Merge replication
Merge replication can be used to manage concurrent access to data. This technique is
best suited for situations where the data to be updated can be divided into distinct
rowsets. An example of this might be the specific accounts that are assigned to
different sales representatives. Periodically, sales representatives merge the data they
have updated locally with a central database and receive any updates from the central
database that have occurred since the last data replication cycle. The SQL Server 2005
File Replication Service and Site Replication Service provide a framework for merging
the distributed data into the central database and managing the rules for resolving
conflicts when the same rows have been updated in both the central and distributed
databases.
Security
SQL Server 2005 makes significant enhancements to the security model of the
database platform, providing more precise and flexible control to enable tighter security
of the data. A considerable investment has been made in a number of areas to help
provide a high level of security for your enterprise data including the following features.
Off by default
To reduce the surface area of SQL Server 2005 to unauthorized access after initial
installation, a number of services have been turned off or set for manual startup so that
inadvertent access is not granted. Services that are off by default include the .NET
Framework, Service Broker network connectivity, and HTTP connectivity for Analysis
Services. Services that require manual intervention to start include SQL Server Agent,
Full-Text Search, and Integration Services, which can all be reset for automatic startup.
Data encryption
Security at the server level is probably the greatest concern for system administrators,
but the database is where all the action is in a production environment. For the most
part, a DBA can let the database developer worry about the details in the database, as
long as the developer lives within the constraints of the environment. SQL Server 2005
provides plenty of new features for securing the database.
Native encryption
SQL Server 2005 supports encryption capabilities within the database itself. Encryption
is fully integrated with a key management infrastructure. By default, client/server
communications are encrypted. To centralize security assurance, server policy can be
defined to reject unencrypted communications.
SQL Server 2005 Product Guide 14
Authentication
SQL Server 2005 clustering supports Kerberos authentication against a SQL
Server 2005 virtual server. Administrators can specify Microsoft Windows-style policies
on standard logins so that a consistent policy is applied across all accounts in the
domain.
Granular permissions
Permissions to perform a variety of database tasks have been made more granular to
narrow the scope of rights that must be granted. This principal of least privileges is
designed to ensure that database users have sufficient rights to do their tasks but only
their tasks. The need to grant broad administrative rights to perform routine
maintenance tasks has also been significantly decreased.
Other examples of these design tenets include the use of views to access system tables,
more adaptable enforcement of password policies, and improved database encryption
capabilities. All of these features are supported by a comprehensive Microsoft
communications strategy which alerts users of SQL Server to new security threats,
advises them on what action to take, and provides them with the tools to implement
any updates.
Developer Productivity
SQL Server 2005 includes many new technologies that empower the developer and
bring significant increases in developer productivity. Because it provides many features
for enhanced productivity from .NET Framework support to tight integration with Visual
Studio, developers can more easily use SQL Server 2005 to create secure, robust
database applications at a lower cost. SQL Server 2005 enables developers to make the
most of existing skills across a variety of development languages while providing an
end-to-end development environment for the database. Native XML capabilities allow
developers to build new classes of connected applications across any platform or
device.
Managed code is more efficient than Transact-SQL at conducting integer and floating
point intensive operations. Also, with the functionality that is available in the .NET
Framework class library, you now have full access to thousands of prebuilt classes and
routines. You can easily access these from any stored procedure, trigger, or user-
defined function. Everything from the improved string handling functions, math
functions, date operations, to access to system resources, advanced encryption
algorithms, file access, image processing, and XML data manipulation is easily
accessible from managed stored procedures, functions, triggers, and aggregates.
One of the major benefits of managed code is type safety. Before managed code is
executed, the CLR performs several checks through a process known as verification to
ensure that the code is safe to run. For example, the code is checked to ensure that
memory is not read that has not been written to.
Transact-SQL enhancements
Transact-SQL has long been the basis for all programmability of SQL Server. SQL
Server 2005 provides many new language capabilities for developing scalable database
applications. These enhancements include error handling, new recursive query
capabilities, and support for new SQL Server Database Engine capabilities. The
Transact-SQL enhancements in SQL Server 2005 increase your expressive powers in
query writing, allowing you to improve the performance of your code and extend your
error management capabilities. The continuous effort that is put into enhancing
Transact-SQL reveals a firm belief in its significant role in SQL Server.
Extensibility
User-defined types and aggregates
User-defined types (UDTs) in SQL Server 2005 are not an Object Relational extensibility
mechanism. They are a way to extend the scalar type system of the database. The
scalar type system includes the columnar types that ship with SQL Server (types such
as int, nvarchar, and uniqueidentifier). You can define your own type in a user-
defined function. Such a function might be used for column definitions, for example.
Create a UDT if your type really is an atomic value that is appropriate to model as a
column.
Use UDTs if you need to define your own scalar type. Example scenarios for such types
include custom date/time data types in various calendars, and currency data types. By
creating a UDT, you can create a single object that exposes all the behaviors that are
available on the type, and encapsulate, or hide, the underlying data that is stored by
the type. Everyone who needs to access the data must use the UDT programmatic
interface. If you can take advantage of existing functionality in the .NET Framework
(such as the internationalization or calendar functionality), that is another strong
reason to consider implementing your type as a UDT.
SQL Server 2005 Product Guide 19
In a number of scenarios, you may need to perform aggregations over data. This
includes performing statistical calculations, such as avg or stddev. If the desired
aggregation function is not directly supported as a built-in aggregate function, you have
the following three ways to perform such a custom aggregation in SQL Server 2005.
• Write the aggregation as a user-defined aggregate (UDA).
• Write the aggregate using a CLR stored procedure.
• Use a server-side cursor.
ADO.NET 2.0/ADOMD.NET
Much is new in the next version of ADO.NET. From new support for query notifications,
to multiple active result sets (MARS), ADO.NET evolves dataset access and
manipulation to a greater level of scalability and flexibility.
Query notifications
SQL Server 2005 introduces notification support for SQL Server queries. You can use
this support to send a command to SQL Server and to request that a notification be
generated if executing the same command again produces different results from those
obtained initially. To do this, you use a dependency object that detects when the
underlying data is changed. Commands that are sent to the server through any of the
client APIs such as ADO.NET, OLE DB, Open Database Connectivity (ODBC), Microsoft
ActiveX® Data Objects (ADO), or SOAP may include a tag that requires a notification.
For each statement that is executed as part of the request, the server creates a query
notification subscription that fire once for each statement that is included in the
request. Notifications are delivered through a SQL Service Broker queue that
applications can poll. Then they use activation services or blocking statements that
return whenever the notifications are available. Query notifications are useful for
enabling the caching of results in applications such as database-driven Web sites.
MARS
Multiple active result sets (MARS) provide the ability to have more than one pending
request per connection, in particular to have more than one default result set open per
connection. Default result sets are forward-only read-only result sets. For default result
sets, the client drivers transparently retrieve the data in large chunks (Tabular Data
Stream buffer-sized chunks) so that the application requests are satisfied without a
round trip to the server (as in the case of server cursors). The application can use a
simple row-at-a-time programming model without compromising performance. The
MARS feature removes the current restriction that requires that an open default result
set block the driver from sending requests to the server until the entire result set is
consumed.
SQL Server 2005 Product Guide 21
XML support
Advancements such as native XML data type and XQuery will help enable organizations
to seamlessly connect internal and external systems. Because SQL Server 2005
supports both relational and XML data natively, enterprises can store, manage, and
analyze data in the format that best suits their needs. Support for existing and
emerging open standards such as HTTP, XML, SOAP, XQuery, and XML Schema
definition language (XSD) also facilitate communication across extended enterprise
systems.
XQuery
XML Query Language, or XQuery, is an intelligent and robust language that is optimized
for querying all types of XML data. With XQuery, you can run queries against variables
and columns of the XML data type by using the methods of the XML data type. As with
many XML standards, the World Wide Web Consortium (W3C) oversees the
development of XQuery. XQuery evolved from a query language called Quilt, which was
itself based on a variety of other query languages such as the XML Path Language
(XPath) version 1.0, XQL, and SQL. XQuery contains XPath 2.0 as a subset. Therefore,
if you have experience using XPath 1.0, you can capitalize on your skills and do not
have to learn an entirely new query language. There are, however, significant
enhancements in XQuery that go beyond XPath 1.0 capabilities. For example, XQuery
includes enhancements such as typing, special functions, and support for better
iteration, the sorting of results, and construction.
SQL Server 2005 ships with deep XQuery capabilities that allow for XML object
manipulation in the data tier. It supports a statically typed subset of the XQuery 1.0
Working Draft of November 15, 2003.
Application framework
SQL Server 2005 introduces a new SQL Server application framework including Service
Broker, Notification Services, SQL Server Mobile, and SQL Server Express. Service
Broker is a distributed application framework that provides reliable asynchronous
messaging at the database-to-database level.
SQL Server 2005 Product Guide 23
Service Broker
Over the last ten years, the proliferation of e-commerce applications has created a need
for increased management across database applications. When an online customer
places an order for a book, the order application needs to commit transactions into the
inventory, shipping, and credit card systems. The application also needs to send an
order confirmation by using another Web application. Waiting for each of these
processes to happen in order does not scale well. SQL Server 2005 provides a new
scalable architecture for building asynchronous message routing.
Notification Services
SQL Server Notification Services is a platform for developing and deploying applications
that generate and send notifications to users. Notifications are personalized, timely
messages that can be sent to a wide variety of devices.
A notification can be generated and sent to the user as soon as a triggering event
occurs. Or, the notification can be generated and sent on a predetermined schedule
specified by the user. The user's subscription specifies when the notification should be
generated and sent.
Notifications can be sent to a wide variety of devices. For example, a notification can be
sent to a user's mobile phone, personal digital assistant (PDA), Microsoft Windows
Messenger, or e-mail account. Because these devices often accompany the user,
notifications are ideal for sending high-priority information.
Many database users prefer to manage their servers using Transact-SQL, because this
approach offers finer-grained control than does the graphical user interface. The Query
Editor in XM allows users to develop and execute Transact -SQL statements and scripts.
The Query Editor has rich features such as keyword color-coding and a results pane
that returns results in a data grid. Error messages are also shown in the results pane.
Business Intelligence
Because of its innovations in scalability, data integration, development tools, and rich
analytics and reporting, SQL Server 2005 represents an advance in leadership on the
part of Microsoft Corporation in the area of business intelligence. By putting critical,
timely information in the hands of employees across your organization, SQL
Server 2005 enables scalable business intelligence. From the CEO to the information
worker, employees can quickly and easily harness data to make better decisions faster.
The comprehensive integration, analysis, and reporting capabilities of SQL Server 2005
enables companies to extend the value of their existing applications, regardless of the
underlying platform.
• Analyze. SQL Server 2005 Analysis Services provides a unified and integrated view
of all your business data as the foundation for traditional reporting, OLAP analysis,
key performance indicators (KPI), scorecards, and data mining. By introducing a
single Unified Dimensional Model, Analysis Services combines the flexibility and
richness of the traditional relational reporting model with the powerful, user-friendly
analytics and the superb performance of the classic OLAP model. With proactive
caching and advanced business intelligence capabilities, Analysis Services moves
into the realm of real-time analytics while maintaining MOLAP class performance.
In addition, Microsoft SQL Server 2005 Analysis Services establishes new ground for
data mining. By creating an easy-to-use, extensible, accessible, and flexible
platform, SQL Server 2005 Analysis Services data mining capabilities introduce data
mining to organizations that previously would never have considered a data mining
solution.
• Report. SQL Server 2005 Reporting Services extends the Microsoft BI platform to
reach the information worker who needs access to business data. Reporting
Services is a server-based enterprise reporting environment, which is managed
through Web services. Reports can be delivered in a variety of formats, with a range
of interactivity and printing options. Complex analyses can reach a broad audience
through the distribution of reports as a data source for downstream business
intelligence.
In addition, Report Builder, a new component of Microsoft SQL Server 2005
Reporting Services, allows business users to create their own reports by using a
user-friendly model of their data. Report Builder takes advantage of the Reporting
Services platform to bring ad hoc reporting to all end users.
• Manage. SQL Server Management Studio integrates the management of all SQL
Server 2005 components. BI practitioners will benefit from the extension of the
server "abilities" you expect from the relational engine—scalability, reliability,
availability, programmability, and so on—to the full set of BI platform components.
Integration Services
SQL Server 2005 includes a redesigned enterprise ETL platform, SQL Server Integration
Services (SSIS). SSIS provides the features and performance necessary to build
enterprise-class data integration applications that enable organizations to more easily
integrate and analyze data from multiple heterogeneous information sources. By
analyzing data across a wide array of operational systems, organizations may gain a
competitive edge through a holistic understanding of their business.
Development environment
SQL Server 2005 Integration Services includes a vastly improved object model, which
has been almost entirely rewritten with enhancements that make programming
Integration Services easier and more flexible than ever before. Developers can extend
and customize virtually every aspect of the SSIS object model. New or existing
packages can be loaded, modified, and executed programmatically, giving developers
the ability to fully automate package maintenance and execution.
SQL Server 2005 Product Guide 28
Visual debugging
Developer productivity reaches new levels with visual debugging. By using data
viewers, designers can see the data pipeline at work, visualizing data during
transformation in grids, graphs, and charts. Breakpoints, variable watches and the call
stack provide powerful debugging capabilities.
Data connectivity
Integrating diverse data sources and destinations is easy. In addition to common data
sources, including text files, OLEDB, and ADO.NET (including ODBC for .NET), there is
also simplified access to data within SAP. Built-in support for XML and Web services
data enables easy integration of service-oriented architectures and other nonstandard
data sources. An optimized SQL Server destination offers data loading. Even SQL
Server Mobile databases can be targeted directly. Because of the metadata integration
and shared engineering features, Reporting Services reports, or Analysis Services cubes
can be loaded straight from the SSIS pipeline.
Analysis Services
With SQL Server 2005, Analysis Services provides, for the first time, a unified and
integrated view of all your business data as the foundation for all of your traditional
reporting, OLAP analysis, and data mining.
Proactive caching
Proactive caching combines real-time updates with MOLAP class performance. Analysis
Services 2005 maintains a highly compressed and optimized data cache that is
automatically maintained as the data in the underlying source databases changes. The
cache provides superb query performance and isolates the back-end source systems
from the load of the analytical queries.
Translations
Translations provide a simple, centrally managed mechanism for storing and presenting
analytic data to users in their preferred languages.
MDX Scripts
MDX Scripts are the new mechanism for defining calculated members, named sets, and
cell calculations.
Data mining
Microsoft SQL Server 2005 data mining is the business intelligence technology that
helps you build complex analytical models, and integrate those models with your
business operations. SQL Server 2005 Analysis Services establishes new ground for
data mining. By creating an easy to use, extensible, accessible, and flexible platform,
SQL Server 2005 Analysis Services data mining capabilities introduce data mining to
organizations that previously would never have considered a data mining solution.
Through an enterprise class architecture; a deep integration with the SQL Server family
of BI tools; and a rich set of tools, API’s and algorithms, SQL Server enables the
creation of a new breed of intelligent applications that enhance productivity, increase
profits, and reduce costs by providing customized data-driven solutions to a broad
range of business problems.
Reporting Services
Reporting Services extends the Microsoft BI platform to reach the information worker
who needs access to business data. Reporting Services is a server-based enterprise
reporting environment that is managed through Web services. Reports can be delivered
in a variety of formats, with a range of interactivity and printing options. Complex
analyses can reach a broad audience through the distribution of reports as a data
source for downstream business intelligence.
SQL Server 2005 Product Guide 30
Report Designer
Report Designer is the user application for defining, editing, and publishing reporting
models. Modelers can launch Report Designer and start designing directly against a
data source or they can automatically generate a model based on a set of predefined
rules as the starting point for model design.
Embedded reporting
Independent software vendors (ISVs) can use Reporting Services to deliver predefined
or ad hoc reports as part of a packaged application. The customer's Information
Services (IS) organization can access these reports as-is, customize the reports, or
create new ones for specific business needs.
Report Builder
Report Builder, a new component of SQL Server 2005 Reporting Services, allows
business users to create their own reports by using a user-friendly model of their data.
Report Builder takes advantage of the Reporting Services platform to bring ad hoc
reporting to all users. Users create and edit reports with the Report Builder client
application. The Report Builder user interface is built on top of familiar Microsoft Office
applications such as Microsoft Excel and Microsoft PowerPoint®.
SQL Server 2005 Product Guide 31
Table 2 Continued
Enterprise Standard Workgroup Express
Advanced Database Management Simple
database mirroring Studio Management Tool
mirroring,
Basic ETL Import/Export Simple reporting
complete online
and parallel Standard OLAP Limited replication Replication and SSB
operations, and server with Analysis publishing Client
database snapshot Services
Clustering
Advanced analysis Standard reporting
Back-up log
tools including full with Reporting
shipping
OLAP and data Services
mining Basic reporting
Data mining
Advanced Full replication and
reporting with SSB publishing
customized, high
scale, and ad-hoc Available in native
reporting 32- and 64-bit
editions*
Advanced ETL with
complex data routing
and transformation
capabilities
Available in native
32- and 64-bit
editions*
Note: Bold indicates new for Microsoft SQL Server 2005. Each higher edition
includes the same functionality as the edition below it. All prices are in U.S. dollars
and reflect pricing for purchases within the United States.
*Supports Itanium 2 and x64
Enterprise Edition
Large organizations with complex requirements should take advantage of Enterprise
Edition. It offers advanced enterprise data management, developer productivity, and
business intelligence tools to meet the needs of critical applications. Significant
advancements in high-availability technologies have been made, including new
advanced database mirroring functionality such as log shipping, additional backup and
restore capabilities, and replication enhancements to allow organizations to build and
deploy highly reliable applications. Additionally, Enterprise Edition provides analytical
and enterprise reporting capabilities to deliver business insights to all levels of your
organization. Enterprise Edition delivers out-of-the-box robust scalability, high
availability, and advanced business intelligence features, making it the most
competitively priced and comprehensive enterprise solution available.
SQL Server 2005 Product Guide 34
Standard Edition
Standard Edition is a complete data management and analysis platform designed for
medium-sized businesses, departmental usage, and infrastructures that require highly
available systems. Standard Edition has added 64-bit support and high-availability
features such as clustering and database mirroring. Standard Edition offers enhanced
business intelligence functionality and SQL Server Integration Services, SQL Server
Analysis Services, and SQL Server Reporting Services.
Workgroup Edition
Workgroup Edition is specifically for small- to medium-sized organizations. It provides a
fast, easy-to-use, and affordable database solution. It has no limits on database size or
connections for handling departmental and branch location needs. Integrated with
Visual Studio® and the Microsoft .NET development framework, Workgroup Edition
allows you to quickly develop dynamic, robust, integrated applications. It is the ideal
choice for organizations that require an easy-to-manage, reliable, and robust solution
with more scalability than the SQL Server Desktop Engine (MSDE) or SQL Server 2005
Express.
Express Edition
Express Edition is a no-cost, redistributable version of the SQL Server 2005 database
engine. This edition provides the fastest way for novice developers to learn to develop
and deploy small-footprint data-driven applications. It is also useful to larger enterprise
companies that want to dedicate smaller databases to developer projects. Express
Edition is tightly integrated with the SQL Server 2005 Reporting Services controls that
are included in Visual Studio 2005, allowing developers to easily create sophisticated
reports that include tables, charts, and graphics. Express is an easy way for customers
and partners to get started with SQL Server 2005. Partners can even embed and
redistribute Express Edition with their applications.
For more information on pricing and licensing and the SQL Server 2005 product line,
please visit http://www.microsoft.com/sql/howtobuy/default.mspx or
http://www.microsoft.com/sql/howtobuy/understdbpricing.mspx.
SQL Server 2005 Product Guide 35
System requirements
Following are the minimum hardware and software requirements for running Microsoft
SQL Server 2005.
• Computer with a 500-MHz or faster processor; 1-GHz processor recommended.
• Microsoft Windows® XP with Service Pack 2 or later; Windows 2000 with Service
Pack 4 or later; Windows 2000 Server, Advanced Server, or Datacenter Server with
Service Pack 4 or later; or Windows Server 2003 with Service Pack 1 or later.
Windows Server 2003 Web Edition with Service Pack 1 or later (SQL Server 2005
Express Edition only).
• 214 megabytes (MB) of available hard disk space required for SQL Server database
components; additional hard disk space up to 2 GB may be required depending on
your system configuration and the applications and features you choose to install.
• 512 MB of RAM or more; 1 GB recommended.
• Microsoft Internet Explorer 6.0 SP1 or later.
• DVD-ROM drive.
• VGA or higher resolution monitor.
• Microsoft Mouse or compatible pointing device.
Actual requirements vary based on your system configuration and the applications and
features you choose to install.
Installation
Depending on your requirements, Microsoft SQL Server 2005 Setup installs a new
instance of SQL Server, upgrades an existing instance, or provides maintenance
options. The following topics address important considerations for the computer on
which SQL Server 2005 will be installed.
Before you install SQL Server 2005, review system requirements, System Configuration
Checker requirements and blocking issues, security considerations and the following:
• Make sure you have administrator permissions on the computer where SQL Server
will be installed. Log on to the operating system under a user account that has local
administrator permissions, or assign the appropriate permissions to the domain user
account. For remote installations, you must have administrator permissions on the
local computer and on the computer where SQL Server will be installed. If you
install SQL Server from a remote share, you must use a domain account that has
read and execute permissions on the remote share.
• Create one or more domain user accounts if you are installing SQL Server 2005 on a
computer running Microsoft Windows XP or Windows 2003, and you want SQL
Server 2005 to communicate with other clients and servers.
• Do not install SQL Server 2005 on a domain controller.
• Back up your current installation of SQL Server if you are running an instance of
SQL Server on the computer where SQL Server 2005 is to be installed.
SQL Server 2005 Product Guide 36
• Verify that the disk where SQL Server will be installed is uncompressed. If you
attempt to install SQL Server to a compressed drive, Setup will fail.
• Exit antivirus software while installing SQL Server.
• Stop all services that depend on SQL Server, including any service using Open
Database Connectivity (ODBC), such as Internet Information Services (IIS). Exit
Event Viewer and registry editors (Regedit.exe or Regedt32.exe).
To install SQL Server 2005, run Setup using the SQL Server 2005 Installation Wizard or
install from the command prompt.
• The Installation Wizard provides a graphical user interface that guides you through
each install-time decision, and is the preferred method for most users. The
Installation Wizard provides guidance for the initial setup of SQL Server 2005,
including feature selection, instance naming rules, service account configuration,
strong password guidelines, and scenarios for setting collations.
• Command-prompt installations are for advanced scenarios like silent and remote
installations. They can be run directly from the command prompt, or from command
prompt syntax that references an installation file to specify installation options.
In this release, upgrade is supported from Microsoft SQL Server 2000 Service Pack 3
(SP3) or later. You can upgrade earlier versions of SQL Server to SQL Server 2005
during installation. You can also perform upgrade operations after SQL Server 2005 is
installed. The upgrade process is not the same for SQL Server version 7.0 as it is for
SQL Server 2000. Direct upgrade from SQL Server 6.5 to SQL Server 2005 is not
supported. To upgrade an instance of SQL Server 6.5, you must first upgrade it to SQL
Server 7.0 or SQL Server 2000 and then upgrade to SQL Server 2005.
After Setup completes the installation of SQL Server 2005, you can further configure
SQL Server using graphical and command prompt tools. Default configurations for new
instances of SQL Server 2005 disable some features and components to reduce the
attackable surface area of the product.
For additional information and assistance, please see SQL Server 2005 Books Online.
• New Service Broker. Service Broker is a new technology for building database-
intensive applications that are more secure, reliable, and scalable. Service Broker
provides message queues the applications use to communicate requests and
responses.
• Database Engine Enhancements. The Database Engine introduces new
programmability enhancements such as integration with the Microsoft .NET
Framework and Transact-SQL enhancements, new XML functionality, and new data
types. It also includes improvements to the scalability and availability of databases.
• Data Access Interfaces Enhancements. SQL Server 2005 supplies improvements
in Microsoft Data Access (MDAC) and the .NET Framework SQL Client provider to
provide greater ease-of-use, control, and productivity for developers of database
applications.
• Analysis Services Enhancements. SQL Server 2005 Analysis Services (SSAS)
introduces new management tools, an integrated development environment, and
integration with the .NET Framework. Many new features extend the data mining
and analysis capabilities of Analysis Services.
• Integration Services Enhancements. Integration Services introduces a new
extensible architecture as well as a new designer that separates job flow from data
flow and provides a rich set of control flow semantics. Integration Services also
provides improvements to package management and deployment, along with many
new packaged tasks and transformations.
• Replication Enhancements. Replication offers improvements in manageability,
availability, programmability, mobility, scalability, and performance.
• Tools and Utilities Enhancements. SQL Server 2005 introduces an integrated
suite of management and development tools that improve the ease-of-use,
manageability, and operations support for large-scale SQL Server systems.
SQL Server 2005 Product Guide 38
Conclusion
SQL Server 2005 provides the technology and capabilities that organizations can count
on to run their most critical applications. This paper describes the significant
advancements in the key areas of enterprise data management, developer productivity,
and business intelligence that are included in SQL Server 2005. You can use SQL
Server 2005 to benefit your organization in the following ways.
• Increase productivity. By reducing the complexity of building, deploying, and
managing database applications, SQL Server 2005 helps organizations maximize
information technology productivity. Through advanced business intelligence
capabilities and integration with familiar tools like Office, SQL Server 2005 provides
information workers in your organization with critical, timely business information
that is tailored to their specific needs.
• Make the most of data assets. In addition to delivering a secure, reliable
database for line-of-business and analytical applications, SQL Server 2005 enables
customers to get more value from their data. Because it includes embedded
functionality such as reporting, analysis, and data mining, it allows customers to
share data across multiple platforms, applications, and devices to make it easier to
connect internal and external systems.
• Reduce information technology complexity. SQL Server 2005 simplifies the
development, deployment, and management of line-of-business and analytical
applications by providing a flexible development environment for developers and
integrated, automated management tools for DBAs.
• Lower Total Cost of Ownership (TCO). Because of the integrated approach and
focus on ease-of-use in SQL Server 2005, the product provides the industry’s lowest
upfront, implementation, and maintenance costs thereby resulting in rapid returns
on your database investment. Organizations can control costs without sacrificing
performance, availability, scalability, or security.
SQL Server 2005 Product Guide 41
Did this paper help you? Please give us your feedback. On a scale of 1 (poor) to 5
(excellent), how would you rate this paper?
This is a preliminary document and may be changed substantially prior to final commercial release of the software described herein.
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of
publication. 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 presented after the date of publication.
This white paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, OR IMPLIED, IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document
may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical,
photocopying, recording, or otherwise), or for any purpose, without the express written per of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this
document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
© 2005 Microsoft Corporation. All rights reserved.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are
fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended
or should be inferred.
Microsoft, ActiveX, PowerPoint, SharePoint, Visual Basic, Visual C++, Visual C#, Visual Studio, Windows, and Windows Server are either
registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
All other trademarks are property of their respective owners.