SQL Server
SQL Server
SQL Server
Welcome
Overview
What's New in SQL Server 2016
What's New in SQL Server 2017
Editions and supported features of SQL Server 2016
Editions and supported features of SQL Server 2017
Maximum Capacity Specifications for SQL Server
Compute Capacity Limits by Edition of SQL Server
Customer Experience Improvement Program
Configure SQL Server to send feedback to Microsoft
Partners
New and updated articles
Release Notes
SQL Server 2017 Notes
SQL Server 2016 Notes
SQL Server 2014 Notes
SQL Server 2012 SP4 Notes
SQL Server 2012 SP3 Notes
SQL Server 2012 SP2 Notes
SQL Server 2012 SP1 Notes
SQL Server 2012 Notes
SQL Server 2008 R2 SP2 Notes
Analysis Services
Database Engine
Data Quality Services
Failover clusters
Install
Integration Services
Master Data Services
Reporting Services
SQL Server Migration Assistant
Data Migration Assistant
Stretch Database
Tutorials for SQL Server
Resources
Blogs
SQL Server
SQL Server Database Engine
SQL Server Security
SQL Server Data Tools
Learn
Microsoft Virtual Academy
SQL on Channel 9
Feedback and help
UserVoice - Suggest a SQL Server Improvement
DBA Stack Exchange
Stack Overflow
MSDN Forums
Reddit
Local content with Help Viewer
SQL Server Documentation
2/23/2018 • 3 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
SQL Server is a central part of the Microsoft data platform. SQL Server is an industry leader in operational database
management systems (ODBMS). This documentation helps you install, configure, and use SQL Server. The content
includes end-to-end examples, code samples, and videos. For SQL Server language topics, see Language Reference.
What's New in SQL Server 2017 SQL Server 2017 Release Notes
What's New in SQL Server 2016 SQL Server 2016 Release Notes
What's New in SQL Server 2014 SQL Server 2014 Release Notes
Database Engine
Integration Services
Reporting Services
Replication
Samples
Wide World Importers sample database
AdventureWorks sample databases and scripts for SQL Server 2016
SQL Server samples on GitHub
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
What's new in SQL Server 2016
1/9/2018 • 3 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2016) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
With SQL Server 2016, you can build intelligent, mission-critical applications using a scalable, hybrid database
platform that has everything built in, from in-memory performance and advanced security to in-database analytics.
The SQL Server 2016 release adds new security features, querying capabilities, Hadoop and cloud integration, R
analytics and more, along with numerous improvements and enhancements.
This page provides summary information and links to more detailed SQL Server 2016 what's new information for
each SQL Server component.
Next steps
SQL Server setup
SQL Server 2016 Release Notes
SQL Server 2016 datasheet
Features supported by Editions of SQL Server
Hardware and Software Requirements for Installing SQL Server 2016
Install SQL Server 2016 from the Installation Wizard
Setup and Servicing Installation
New SQL PowerShell module
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
What's new in SQL Server 2017
12/4/2017 • 9 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2017) Azure SQL Database Azure SQL Data Warehouse
Parallel Data Warehouse
SQL Server 2017 represents a major step towards making SQL Server a platform that gives you choices of
development languages, data types, on-premises or cloud, and operating systems by bringing the power of SQL
Server to Linux, Linux-based Docker containers, and Windows. This topic summarizes what is new for specific
feature areas and includes links to additional details. For more information related to SQL Server on Linux, see SQL
Server on Linux Documentation
Try it out: Download SQL Server 2017 Release - October 2017:.
NOTE
In addition to the changes below, cumulative updates are released at regular intervals after the GA release. These cumulative
updates provide many improvements and fixes. For information about the latest CU release, see SQL Server 2017
Cumulative updates.
Next steps
See the SQL Server 2017 Release Notes.
Find out What's new for SQL Server 2017 on Linux.
Find out What's new in SQL Server 2016.
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
Editions and supported features of SQL Server 2016
2/23/2018 • 16 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2016) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This topic provides details of features supported by the SQL Server editions. At this time there are no changes to
features supported by editions for SQL Server 2017.
Installation requirements vary based on your application needs. The different editions of SQL Server accommodate
the unique performance, runtime, and price requirements of organizations and individuals. The SQL Server
components that you install also depend on your specific requirements. The following sections help you
understand how to make the best choice among the editions and components available in SQL Server.
The SQL Server Evaluation edition is available for a 180-day trial period.
For the latest release notes and what's new information, see the following:
SQL Server 2017 release notes
SQL Server 2016 release notes
What's new in SQL Server 2017
What's new in SQL Server 2016
Try SQL Server!
Developer SQL Server Developer edition lets developers build any kind of
application on top of SQL Server. It includes all the
functionality of Enterprise edition, but is licensed for use as a
development and test system, not as a production server. SQL
Server Developer is an ideal choice for people who build
SQL Server and test applications.
Express editions Express edition is the entry-level, free database and is ideal for
learning and building desktop and small server data-driven
applications. It is the best choice for independent software
vendors, developers, and hobbyists building client
applications. If you need more advanced database features,
SQL Server Express can be seamlessly upgraded to other
higher end versions of SQL Server. SQL Server Express
LocalDB, a lightweight version of Express that has all of its
programmability features, yet runs in user mode and has a
fast, zero-configuration installation and a short list of
prerequisites.
NOTE: Although you can install an instance of SQL Server on a computer that is running IIS, this is typically
done only for small Web sites that have a single server computer. Most Web sites have their middle-tier IIS
systems on one server or a cluster of servers, and their databases on a separate server or federation of servers.
SQL Server Database Engine SQL Server Database Engine includes the Database Engine,
the core service for storing, processing, and securing data,
replication, full-text search, tools for managing relational and
XML data, in database analytics integration, and Polybase
integration for access to Hadoop and other heterogeneous
data sources, and the Data Quality Services (DQS) server.
SERVER COMPONENTS DESCRIPTION
Analysis Services Analysis Services includes the tools for creating and managing
online analytical processing (OLAP) and data mining
applications.
Reporting Services Reporting Services includes server and client components for
creating, managing, and deploying tabular, matrix, graphical,
and free-form reports. Reporting Services is also an extensible
platform that you can use to develop report applications.
Master Data Services Master Data Services (MDS) is the SQL Server solution for
master data management. MDS can be configured to manage
any domain (products, customers, accounts) and includes
hierarchies, granular security, transactions, data versioning,
and business rules, as well as an Add-in for Excel that can be
used to manage data.
SQL Server Management Studio SQL Server Management Studio is an integrated environment
to access, configure, manage, administer, and develop
components of SQL Server. Management Studio lets
developers and administrators of all skill levels use SQL Server.
SQL Server Configuration Manager SQL Server Configuration Manager provides basic
configuration management for SQL Server services, server
protocols, client protocols, and client aliases.
SQL Server Profiler SQL Server Profiler provides a graphical user interface to
monitor an instance of the Database Engine or Analysis
Services.
Database Engine Tuning Advisor Database Engine Tuning Advisor helps create optimal sets of
indexes, indexed views, and partitions.
Data Quality Client Provides a highly simple and intuitive graphical user interface
to connect to the DQS server, and perform data cleansing
operations. It also allows you to centrally monitor various
activities performed during the data cleansing operation.
MANAGEMENT TOOLS DESCRIPTION
SQL Server Data Tools SQL Server Data Tools provides an IDE for building solutions
for the Business Intelligence components: Analysis Services,
Reporting Services, and Integration Services.
DOCUMENTATION DESCRIPTION
Scale Limits
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Maximum Operating Limited to lesser Limited to lesser Limited to lesser Limited to lesser
compute capacity system maximum of 4 sockets or of 4 sockets or of 1 socket or 4 of 1 socket or 4
used by a single 24 cores 16 cores cores cores
instance - SQL
Server Database
Engine1
Maximum Operating Limited to lesser Limited to lesser Limited to lesser Limited to lesser
compute capacity system maximum of 4 sockets or of 4 sockets or of 1 socket or 4 of 1 socket or 4
used by a single 24 cores 16 cores cores cores
instance -
Analysis Services
or Reporting
Services
Always On Yes No No No No
availability
groups Up to 8
secondary
replicas, including
2 synchronous
secondary
replicas
1 For more information on installing SQL Server on Server Core, see Install SQL Server on Server Core.
2 For more information about Basic availability groups, see Basic Availability Groups.
3 Applies to SQL Server 2016 SP1.
RDBMS Scalability and Performance
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Multi-instance 50 50 50 50 50
support
Resource Yes No No No No
Governor
IO Resource Yes No No No No
Governance
1 In-Memory OLTP data size and Columnstore segment cache are limited to the amount of memory specified by
edition in the Scale Limits section. The max degrees of parallelism is limited. The degrees of process parallelism
(DOP) for an index build is limited to 2 DOP for the Standard Edition and 1 DOP for the Web and Express Editions.
This refers to columnstore indexes created over disk-based tables and memory-optimized tables.
2 Applies to SQL Server 2016 SP1.
3
3 This feature is not included in the LocalDB installation option.
RDBMS Security
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB EXPRESS SERVICES
Transparent Yes No No No No
database
encryption
Replication
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Merge replication Yes Yes Yes (Subscriber Yes (Subscriber Yes (Subscriber
only) only) only)
Transactional Yes No No No No
replication
updateable
subscription
Management Tools
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
1 SQL Server Web, SQL Server Express, SQL Server Express with Tools, and SQL Server Express with Advanced
Services can be profiled using SQL Server Standard and SQL Server Enterprise editions.
2 Tuning enabled only on Standard edition features
RDBMS Manageability
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
LocalDB No No No Yes No
Dedicated admin Yes Yes Yes Yes with trace Yes with trace
connection flag flag
Distributed Yes No No No No
partitioned views
Parallel Yes No No No No
consistency check
1 For more information, see Considerations for Installing SQL Server Using SysPrep.
2 Applies to SQL Server 2016 SP1.
Development Tools
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Programmability
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Advanced R Yes No No No No
integration
R Server Yes No No No No
(Standalone)
Service Broker Yes Yes No (Client only) No (Client only) No (Client only)
(messaging)
Integration Services
For info about the Integration Services (SSIS) features supported by the editions of SQL Server, see Integration
Services Features Supported by the Editions of SQL Server.
Data Warehouse
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Analysis Services
For information about the Analysis Services features supported by the editions of SQL Server, see Analysis Services
Features Supported by the Editions of SQL Server.
Data Mining
For information about the Data Mining features supported by the editions of SQL Server, see Analysis Services
Features Supported by the Editions of SQL Server.
Reporting Services
For information about the Reporting Services features supported by the editions of SQL Server, see Reporting
Services Features Supported by the Editions of SQL Server.
Other Components
EXPRESS WITH
ADVANCED
FEATURE NAME ENTERPRISE STANDARD WEB SERVICES EXPRESS
StreamInsight HA StreamInsight No No No No
Premium Edition
THIS TOPIC APPLIES TO: SQL Server (starting with 2017) Azure SQL Database Azure SQL Data Warehouse
Parallel Data Warehouse
This topic provides details of features supported by the various editions of SQL Server 2017.
For information about older versions, see:
SQL Server 2016.
SQL Server 2014.
Installation requirements vary based on your application needs. The different editions of SQL Server accommodate
the unique performance, runtime, and price requirements of organizations and individuals. The SQL Server
components that you install also depend on your specific requirements. The following sections help you
understand how to make the best choice among the editions and components available in SQL Server.
The SQL Server Evaluation edition is available for a 180-day trial period.
For the latest release notes and what's new information, see the following:
SQL Server 2017 release notes
What's new in SQL Server 2017
Try SQL Server!
Developer SQL Server Developer edition lets developers build any kind of
application on top of SQL Server. It includes all the
functionality of Enterprise edition, but is licensed for use as a
development and test system, not as a production server. SQL
Server Developer is an ideal choice for people who build and
test applications.
Express editions Express edition is the entry-level, free database and is ideal for
learning and building desktop and small server data-driven
applications. It is the best choice for independent software
vendors, developers, and hobbyists building client applications.
If you need more advanced database features, SQL Server
Express can be seamlessly upgraded to other higher end
versions of SQL Server. SQL Server Express LocalDB, a
lightweight version of Express that has all of its
programmability features, runs in user mode and has a fast,
zero-configuration installation and a short list of prerequisites.
NOTE
Although you can install an instance of SQL Server on a computer that is running IIS, this is typically done only for small Web
sites that have a single server computer. Most Web sites have their middle-tier IIS systems on one server or a cluster of
servers, and their databases on a separate server or federation of servers.
SQL Server Database Engine SQL Server Database Engine includes the Database Engine, the
core service for storing, processing, and securing data,
replication, full-text search, tools for managing relational and
XML data, in database analytics integration, and Polybase
integration for access to Hadoop and other heterogeneous
data sources, and the Data Quality Services (DQS) server.
Analysis Services Analysis Services includes the tools for creating and managing
online analytical processing (OLAP) and data mining
applications.
Reporting Services Reporting Services includes server and client components for
creating, managing, and deploying tabular, matrix, graphical,
and free-form reports. Reporting Services is also an extensible
platform that you can use to develop report applications.
Master Data Services Master Data Services (MDS) is the SQL Server solution for
master data management. MDS can be configured to manage
any domain (products, customers, accounts) and includes
hierarchies, granular security, transactions, data versioning,
and business rules, as well as an Add-in for Excel that can be
used to manage data.
Machine Learning Services (In-Database) Machine Learning Services (In-Database) supports distributed,
scalable machine learning solutions using enterprise data
sources. In SQL Server 2016, the R language was supported.
SQL Server 2017 supports R and Python.
Machine Learning Server (Standalone) Machine Learning Server (Standalone) supports deployment of
distributed, scalable machine learning solutions on multiple
platforms and using multiple enterprise data sources, including
Linux, Hadoop, and Teradata. In SQL Server 2016, the R
language was supported. SQL Server 2017 supports R and
Python.
SQL Server Management Studio SQL Server Management Studio is an integrated environment
to access, configure, manage, administer, and develop
components of SQL Server. Management Studio lets
developers and administrators of all skill levels use SQL Server.
SQL Server Configuration Manager SQL Server Configuration Manager provides basic
configuration management for SQL Server services, server
protocols, client protocols, and client aliases.
MANAGEMENT TOOLS DESCRIPTION
SQL Server Profiler SQL Server Profiler provides a graphical user interface to
monitor an instance of the Database Engine or Analysis
Services.
Database Engine Tuning Advisor Database Engine Tuning Advisor helps create optimal sets of
indexes, indexed views, and partitions.
Data Quality Client Provides a highly simple and intuitive graphical user interface
to connect to the DQS server, and perform data cleansing
operations. It also allows you to centrally monitor various
activities performed during the data cleansing operation.
SQL Server Data Tools SQL Server Data Tools provides an IDE for building solutions
for the Business Intelligence components: Analysis Services,
Reporting Services, and Integration Services.
DOCUMENTATION DESCRIPTION
Scale limits
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Maximum Operating system Limited to lesser Limited to lesser Limited to lesser Limited to lesser
compute capacity maximum of 4 sockets or of 4 sockets or of 1 socket or 4 of 1 socket or 4
used by a single 24 cores 16 cores cores cores
instance - SQL
Server Database
Engine1
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Maximum Operating system Limited to lesser Limited to lesser Limited to lesser Limited to lesser
compute capacity maximum of 4 sockets or of 4 sockets or of 1 socket or 4 of 1 socket or 4
used by a single 24 cores 16 cores cores cores
instance -
Analysis Services
or Reporting
Services
Always On Yes No No No No
availability
groups3
1 For more information on installing SQL Server on Server Core, see Install SQL Server on Server Core.
2 On Enterprise Edition, the number of nodes is the operating system maximum. On Standard edition there is
support for two nodes.
3 On Enterprise Edition, provides support for up to 8 secondary replicas - including 2 synchronous secondary
replicas.
4 Standard Edition supports basic availability groups. A basic availability group supports two replicas, with one
database. For more information about basic availability groups, see Basic Availability Groups.
Multi-instance 50 50 50 50 50
support
Resource Yes No No No No
Governor
IO Resource Yes No No No No
Governance
1 In-Memory OLTP data size and Columnstore segment cache are limited to the amount of memory specified by
edition in the Scale Limits section. The max degrees of parallelism is limited. The degrees of process parallelism
(DOP) for an index build is limited to 2 DOP for the Standard Edition and 1 DOP for the Web and Express Editions.
This refers to columnstore indexes created over disk-based tables and memory-optimized tables.
2 This feature is not included in the LocalDB installation option.
RDBMS security
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB EXPRESS SERVICES
Transparent Yes No No No No
database
encryption
Replication
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Merge replication Yes Yes Yes (Subscriber Yes (Subscriber Yes (Subscriber
only) only) only)
Transactional Yes No No No No
replication
updateable
subscription
Management tools
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
1 SQL Server Web, SQL Server Express, SQL Server Express with Tools, and SQL Server Express with Advanced
Services can be profiled using SQL Server Standard and SQL Server Enterprise editions.
2 Tuning enabled only on Standard edition features
RDBMS manageability
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
LocalDB No No No Yes No
Dedicated admin Yes Yes Yes Yes with trace Yes with trace
connection flag flag
Distributed Yes No No No No
partitioned views
Parallel Yes No No No No
consistency check
1 For more information, see Considerations for Installing SQL Server Using SysPrep.
2 On Linux, PowerShell scripts are supported, from Windows computers targeting SQL Servers on Linux.
Development tools
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Programmability
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Advanced R Yes No No No No
integration
Service Broker Yes Yes No (Client only) No (Client only) No (Client only)
(messaging)
Integration Services
For info about the Integration Services (SSIS) features supported by the editions of SQL Server, see Integration
Services Features Supported by the Editions of SQL Server.
Data warehouse
EXPRESS WITH
ADVANCED
FEATURE ENTERPRISE STANDARD WEB SERVICES EXPRESS
Analysis Services
For information about the Analysis Services features supported by the editions of SQL Server, see Analysis Services
Features Supported by the Editions of SQL Server.
Data mining
For information about the Data Mining features supported by the editions of SQL Server, see Analysis Services
Features Supported by the Editions of SQL Server.
Reporting Services
For information about the Reporting Services features supported by the editions of SQL Server, see Reporting
Services Features Supported by the Editions of SQL Server.
Other components
EXPRESS WITH
ADVANCED
FEATURE NAME ENTERPRISE STANDARD WEB SERVICES EXPRESS
StreamInsight HA StreamInsight No No No No
Premium Edition
Next steps
Product Specifications for SQL Server
Installation for SQL Server
Maximum Capacity Specifications for SQL Server
12/4/2017 • 8 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
For content related to previous versions of SQL Server, see Maximum Capacity Specifications for SQL Server.
The following tables specify maximum sizes and numbers of various objects defined in SQL Server components. To
navigate to the table for a SQL Server technology, click on its link:
SQL Server Database Engine Objects
SQL Server Utility Objects
SQL Server Data-tier Application Objects
SQL Server Replication Objects
Bytes per index key 900 bytes for a clustered The maximum number of
index. 1,700 for a bytes in a clustered index
nonclustered index. key cannot exceed 900 in
SQL Server. For a
nonclustered index key, the
maximum is 1700 bytes.
For a memory-optimized
table, even though the row
size is 8060 bytes, some
variable-length columns can
be physically stored outside
those 8060 bytes. However,
the maximum declared sizes
of all key columns for all
indexes on a table, plus any
additional fixed-length
columns in the table, must fit
in the 8060 bytes.
Columns or expressions in a 10
GROUP BY WITH CUBE or
WITH ROLLUP statement
SQL SERVER DATABASE MAXIMUM SIZES/NUMBERS
ENGINE OBJECT SQL SERVER (64-BIT) ADDITIONAL INFORMATION
Foreign key table references Outgoing = 253. Incoming For restrictions, see Create
per table = 10,000. Foreign Key Relationships.
25 instances on a failover
cluster when using a shared
cluster disk as the stored
option for you cluster
installation SQL Server
supports 50 instances on a
failover cluster if you choose
SMB file shares as the
storage option for your
cluster installation.
Length of a string containing 65,536 * Network packet Network Packet Size is the
SQL statements (batch size) size size of the tabular data
stream (TDS) packets used to
communicate between
applications and the
relational Database Engine.
The default packet size is 4
KB, and is controlled by the
network packet size
configuration option.
Locks per instance of SQL Limited only by memory This value is for static lock
Server allocation. Dynamic locks are
limited only by memory.
Nested subqueries 32
Number of distinct 32
expressions in the GROUP
BY clause when any of the
following are present: CUBE,
ROLLUP, GROUPING SETS,
WITH CUBE, WITH ROLLUP
*The maximum number of managed instances of SQL Server supported by SQL Server Utility may vary based on
the hardware configuration of the server. For getting started information, see SQL Server Utility Features and Tasks.
SQL Server Utility control point is not available in every edition of SQL Server 2017. For a list of features that are
supported by the editions of SQL Server, see Features Supported by the Editions of SQL Server 2016.
*The types of objects included in the limit are users, tables, views, stored procedures, user-defined functions, user-
defined data type, database roles, schemas, and user-defined table types.
Replication Objects
Maximum sizes and numbers of various objects defined in SQL Server Replication.
*If row tracking is used for conflict detection (the default), the base table can include a maximum of 1,024 columns,
but columns must be filtered from the article so that a maximum of 246 columns is published. If column tracking is
used, the base table can include a maximum of 246 columns.
**The base table can include the maximum number of columns allowable in the publication database (1,024 for
SQL Server), but columns must be filtered from the article if they exceed the maximum specified for the publication
type.
See Also
Hardware and Software Requirements for Installing SQL Server 2016
Check Parameters for the System Configuration Checker
SQL Server Utility Features and Tasks
Compute capacity limits by edition of SQL Server
12/4/2017 • 4 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
This article discusses compute capacity limits for editions of SQL Server 2017 and how they differ in physical and
virtualized environments with hyperthreaded processors.
VALUE DESCRIPTION
1 Exactly one
*Enterprise Edition with Server + Client Access License (CAL) licensing is limited to 20 cores per SQL Server
instance. (This licensing is not available for new agreements.) There are no limits under the Core-based Server
Licensing model.
In a virtualized environment, the compute capacity limit is based on the number of logical processors, not cores.
The reason is that the processor architecture is not visible to the guest applications.
For example, a server that has four sockets populated with quad-core processors and the ability to enable two
hyperthreads per core contains 32 logical processors with hyperthreading enabled. But it contains only 16 logical
processors with hyperthreading disabled. These logical processors can be mapped to virtual machines on the
server. The virtual machines’ compute load on that logical processor is mapped to a thread of execution on the
physical processor in the host server.
You might want to disable hyperthreading when the performance for each virtual processor is important. You can
enable or disable hyperthreading by using a BIOS setting for the processor during the BIOS setup. But it's typically
a server-scoped operation that will affect all workloads running on the server. This might suggest separating
workloads that will run in virtualized environments from workloads that would benefit from the hyperthreading
performance boost in a physical operating system environment.
See also
Editions and components of SQL Server 2016
Features supported by the editions of SQL Server 2016
Maximum capacity specifications for SQL Server
Quickstart installation of SQL Server 2016
Customer Experience Improvement Program for SQL
Server Data Tools
12/4/2017 • 5 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
Learn how the Customer Experience Improvement Program (CEIP) helps Microsoft identify ways to make our
software better. You can configure tools to opt in or out at any time.
NOTE
For an explanation of the user data collection and use practices for Microsoft SQL Server 2016 releases and any other
products and services, please refer to this privacy statement from Microsoft.
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you
should back up any valued data on the computer. You can also use the Last Known Good Configuration startup
option if you encounter problems after manual changes have been applied.
For more information about the information collected, processed, or transmitted by CEIP, see the Privacy Statement
for the Microsoft Customer Experience Improvement Program.
Choice and Control over CEIP and SQL Server Data Tools for Visual Studio 2015
SSDT for Visual Studio 2015 is the data modeling tool that ships with SQL Server 2016. It uses the CEIP options
that are built into Visual Studio 2015. You can learn more about how to submit feedback through CEIP in Visual
Studio 2015 from this help document from Visual Studio.
For preview versions of SQL Server 2016, CEIP is turned on by default. You can turn it off, or back on again, by
following the instructions below.
In Visual Studio (applies to full language installations of Visual Studio 2015)
If you run SSDT Setup on a computer that already has Visual Studio, only the SQL Server and Business Intelligence
project templates are added. For this scenario, customer feedback options that Visual Studio provides can be used
to opt in or out of CEIP.
1. Start Visual Studio.
2. From the Help menu, select Send Feedback > Settings.
3. To turn CEIP off, click No, I would not like to participate, and then click OK.
To turn CEIP on, click Yes, I am willing to participate, and then click OK.
Use a registry-based policy or Group Policy
If you run SSDT Setup on a computer that does not have Visual Studio 2015, only the Visual Studio Shell is
installed. The shell doesn't provide customer feedback options. In this case, a registry update is the only option for
configuring CEIP
Enterprise customers may construct Group Policy to opt in or out by setting a registry-based policy for SQL Server
2016.
The relevant registry key and settings are as follows:
Key = HKEY_CURRENT_USER\Software\Microsoft\VSCommon\14.0\SQM
RegEntry name = OptIn
Entry type DWORD:
0 is opt out
1 is opt in
Cau t i on
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you
should back up any valued data on the computer. You can also use the Last Known Good Configuration startup
option if you encounter problems after manual changes have been applied.
For more information about the information collected, processed, or transmitted by CEIP, see the Privacy Statement
for the Microsoft Customer Experience Improvement Program.
Choice and Control for CEIP and SQL Server Data Tools - BI (SSDT -BI )
If you are using SSDT-BI, you will be given an opportunity to participate in CEIP during installation. Later, CEIP
configuration changes for SSDT-BI can be made through client tools or by editing registry settings.
In SSDT and SSDT-BI for Visual studio 2013
1. Start the tool and open a new or existing project for either Analysis Services or Integration Services.
2. From the Help menu, select Microsoft SQL Server Customer Feedback Options.
3. To turn CEIP off, click No, I don't wish to participate.
To turn CEIP on, click Yes, I am willing to participate.
4. Click OK.
Use a registry-based policy or Group Policy
Enterprise customers may construct Group Policy to opt in or out by setting a registry-based policy for SQL
Server 2014.
The relevant registry key and settings are as follows:
Key = HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\120
RegEntry name = CustomerFeedback
Entry type DWORD:
0 is opt out
1 is opt in
Configure SQL Server to send feedback to Microsoft
12/4/2017 • 6 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
Summary
By default, Microsoft SQL Server collects information about how its customers are using the application.
Specifically, SQL Server collects information about the installation experience, usage, and performance. This
information helps Microsoft improve the product to better meet customer needs. For example, Microsoft collects
information about what kinds of error codes customers encounter so that we can fix related bugs, improve our
documentation about how to use SQL Server, and determine whether features should be added to the product to
better serve customers.
Specifically, Microsoft does not send any of the following types of information through this mechanism:
Any values from inside user tables
Any logon credentials or other authentication information
Personally Identifiable Information (PII)
The following sample scenario includes feature usage information that helps improve the product.
SQL Server 2017 supports ColumnStore indexes to enable fast analytics scenarios. ColumnStore indexes combine a
traditional “B-tree” index structure for newly inserted data with a special column-oriented compressed structure to
compress data and speed query execution. The product contains heuristics to migrate data from the B-tree
structure to the compressed structure in the background, thereby speeding up future query results.
If the background operation does not keep pace with the rate at which data is inserted, query performance may be
slower than expected. To improve the product, Microsoft collects information about how well SQL Server is keeping
up with the automatic data compression process. The product team uses this information to fine-tune the
frequency and parallelism of the code that performs compression. This query is run occasionally to collect this
information so that we (Microsoft) can evaluate the data movement rate. This helps us optimize the product
heuristics.
SELECT object_id, type_desc, data_space_id, db_id() AS database_id FROM sys.indexes WITH(nolock) WHERE type = 5
or type = 6
Be aware that this process focuses on the necessary mechanisms for delivering value to customers. The product
team does not look at the data in the index or send that data to Microsoft. SQL Server 2017 always collects and
sends information about the installation experience from the setup process so that we can quickly find and fix any
installation problems that the customer is experiencing. SQL Server 2017 can be configured not to send
information (on a per-server instance basis) to Microsoft through the following mechanisms:
By using the Error and Usage Reporting application
By setting registry subkeys on the server
For SQL Server on Linux refer to Customer Feedback for SQL Server on Linux
NOTE
You can disable the sending of information to Microsoft only in paid versions of SQL Server.
NOTE
The Error and Usage Reporting application is listed under the Configuration Tools of SQL Server. You can use this tool to
manage your preference for Error Reporting and Usage Feedback collection in the same manner as in SQL Server 2017. Error
Reporting is separate from Usage Feedback collection, therefore can be turned on or off independently from Usage Feedback
collection. Error Reporting collects crash dumps that are sent to Microsoft and that may contain sensitive information as
outlined in the Privacy Statement.
To start SQL Server Error and Usage Reporting, click or tap Start, and then search on "Error" in the search box. The
SQL Server Error and Usage Reporting item will be displayed. After you start the tool, you can manage usage
feedback and serious errors that are collected for instances and components that are installed on that computer.
For paid versions, use the “Usage Reports” check boxes to manage sending usage feedback to Microsoft.
For paid or free versions, use the “Error Reports” check boxes to manage sending feedback on serious errors and
crash dumps to Microsoft.
NOTE
{Major Version} refers to the version of SQL Server. For example, "140" refers to SQL Server 2017.
Registry-based Group Policy on these registry subkeys is honored by SQL Server 2017 crash dump collection.
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server monitoring partners
12/4/2017 • 2 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
To monitor your SQL Server services, choose from a wide variety of industry-leading tools. This article highlights
Microsoft partner companies with monitoring solutions supporting Microsoft SQL Server.
IDERA Website
SQL Diagnostic Manager is a powerful Twitter
performance monitoring and Video
diagnostics solution that proactively
alerts administrators to health,
performance, and availability problems
within SQL Server environments all from
a central console.
System requirements
Quest Marketplace
Spotlight on SQL Server Enterprise - Website
Ensure peak performance around the Video
clock with unmatched monitoring,
diagnosis and optimization of SQL
Server environments. Spotlight provides
access to the details you need for
optimal fitness of your SQL Server
databases. Get intuitive overviews of
health and performance, automated
alerts and actions, and mobile device
support.
Redgate Website
SQL Monitor from Redgate is a SQL Twitter
Server monitoring tool that helps teams LinkedIn
looking after SQL Server be more Video
proactive. Not only does SQL Monitor
alert you to current issues, it gives you
the information you need to stop them
happening in the future. Ideally suited
to large SQL Server estates, SQL
Monitor makes sure you always have
the answer to questions about
performance.
PARTNER DESCRIPTION LINKS
SentryOne Website
SentryOne solutions empower Datasheet
Microsoft data professionals to achieve Twitter
breakthrough performance across LinkedIn
physical, virtual, and cloud
environments. With SentryOne, data
professionals can consolidate their tool
sets, reduce infrastructure costs, and
increase database speed and efficiency
for peak performance across their
Microsoft data platform environments,
regardless of size or complexity.
Solarwinds Marketplace
Database Performance Analyzer Website
provides visibility across application Datasheet
requests, SQL statements, database LinkedIn
resources, host/OS, network, Video
virtualization, and storage performance.
DPA incorporates wait-time analysis so
the focus is not only on health, but on
the speed at which the database
responds to application requests. DPA
provides full coverage of your
databases, no matter how it is
deployed. Physical, virtual, cloud, or
DBaaS, we've got you covered in a
single pane of glass.
Next steps
To learn more about some of our other partners, see High availability and disaster recovery partners, management
partners, and development partners.
SQL Server high availability and disaster recovery
partners
2/14/2018 • 3 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
To provide high availability and disaster recovery for your SQL Server services, choose from a wide variety of
industry-leading tools. This article highlights Microsoft partner companies with high availability and disaster
recovery solutions supporting Microsoft SQL Server.
DH2i Website
DxEnterprise is Smart Availability Datasheet
software for Windows, Linux & Docker Twitter
that helps you achieve the nearest-to- Video
zero planned and unplanned downtime,
unlocks huge cost savings, drastically
simplifies management and gets you
both physical and logical consolidation.
IDERA Website
SQL Safe Backup is a high-performance
backup and recovery solution for SQL
Server that saves money by reducing
database backup time and backup file
size, and by providing instant read and
write access to databases within backup
files.
NEC Website
ExpressCluster is a comprehensive and Datasheet
fully automated high-availability and Video
disaster recovery solution against all Download
major failures including hardware,
software, network and site failures for
SQL Server and associated applications
running on physical or virtual machines
in on-premises or cloud environments.
Portworx Website
Portworx is the solution for stateful Documentation
containers running in production. With Video
Portworx, users can manage any
database or stateful service on any
infrastructure using any container
scheduler, including Kubernetes,
Mesosphere DC/OS, and Docker
Swarm. Portworx solves the five most
common problems DevOps teams
encounter when running containerized
databases and other stateful services in
production: persistence, high
availability, data automation, support
for multiple data stores and
infrastructure, and security.
Veeam Website
Veeam Backup & Replication is a Datasheet
powerful, easy-to-use and affordable Twitter
backup and availability solution. It Video
provides fast, flexible and reliable
recovery of virtualized applications and
data, bringing VM (virtual machine)
backup and replication together in a
single software solution. Veeam Backup
& Replication delivers award-winning
support for VMware vSphere and
Microsoft Hyper-V virtual
environments.
Next steps
To learn more about some of our other partners, see monitoring, management partners, and development
partners.
SQL Server managing partners
12/4/2017 • 1 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
To manage your SQL Server services, choose from a wide variety of industry-leading tools. This article highlights
Microsoft partner companies with management solutions supporting Microsoft SQL Server.
IDERA Website
SQL Compliance Manager is a Twitter
comprehensive auditing solution that Video
displays who did what, when and how
on SQL Servers to help ensure
compliance with regulatory and data
security requirements.
System requirements
Next steps
To learn more about some of our other partners, see High availability, and disaster recovery partners, management
partners, and development partners.
SQL Server development partners
12/5/2017 • 1 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
For support developing SQL Server database solutions, choose from a wide variety of industry-leading tools. This
article highlights Microsoft partner companies with development solutions for Microsoft SQL Server.
IDERA Website
Rapid SQL is an intelligent SQL Twitter
integrated development environment Video
empowering database developers and
database administrators to create high-
performing SQL code on all major
database platforms including SQL
Server from a single interface.
System requirements
Next steps
To learn more about some of our other partners, see High availability, and disaster recovery partners, management
partners, and monitoring partners.
New and Recently Updated: SQL Server docs
2/6/2018 • 4 min to read • Edit Online
Nearly every day Microsoft updates some of its existing articles on its Docs.Microsoft.com documentation website.
This article displays excerpts from recently updated articles. Links to new articles might also be listed.
This article is generated by a program that is rerun periodically. Occasionally an excerpt can appear with imperfect
formatting, or as markdown from the source article. Images are never displayed here.
Recent updates are reported for the following date range and subject:
Date range of updates: 2017-12-03 -to- 2018-02-03
Subject area: SQL Server.
The Local store path on the Manage Content tab shows where the content will be installed on the local
computer. If you want to change the location, click Move, enter a different folder path in the To field, and
then click OK. If the help installation fails after changing the Local store path, close and reopen the Help
Viewer, ensure the new location appears in the Local store path, and then try the installation again.
2. Click Add next to each content package (book) that you want to install. To install all SQL Server help content,
add all 13 books under SQL Server.
3. Click Update at lower right. The help table of contents on the left automatically updates with the added
books.
NOTE
Not all the top-node titles in the SQL Server table of contents exactly match the names of the corresponding downloadable
help books. The TOC titles map to the book names as follows:
CONTENTS PANE SQL SERVER BOOK
Data Analysis Expressions (DAX) reference Data Analysis Expressions (DAX) reference
Data mining extensions (DMX) reference Data mining extensions (DMX) reference
THIS TOPIC APPLIES TO: SQL Server (starting with 2017) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This article describes limitations and issues with SQL Server 2017. For related information, see:
What's New in SQL Server 2017
SQL Server on Linux release notes
SQL Server 2017 Cumulative updates for information about the latest cumulative update (CU) release
Try SQL Server!
Download SQL Server 2017
Spin up a Virtual Machine with SQL Server 2017
Workarounds:
Grant permission on the sub nodes in the tree view instead of the root level.
or
Run the script described in this MDS team blog error applying permission on entity level
Analysis Services
Issue and customer impact: Data connectors for the following sources are not yet avaialble for tabular
models at the 1400 compatibility level.
Amazon Redshift
IBM Netezza
Impala
Workaround: None.
Issue and customer impact: Direct Query models at the 1400 compatibility level with perspectives can fail
on querying or discovering metadata.
Workaround: Remove perspectives and redeploy.
Tools
Issue and customer impact: Running DReplay fails with the following message: "Error DReplay Unexpected
error occurred!".
Workaround: None.
regsvr32 /i ReportingServicesWMIProvider.dll
The module "ReportingServicesWMIProvider.dll" was loaded but the entry-point DLLInstall was not
found. Make sure that "ReportingServicesWMIProvider.dll" is a valid DLL or OCX file and then try
again.
1. User upgrades SQL Server instance hosting secondary replica in accordance with best practices.
2. After upgrade, a failover occurs and a newly upgraded secondary becomes primary before completing
upgrade for all secondary replicas in the availability group. The old primary is now a secondary, which is
lower version than primary.
3. The availability group is in an unsupported configuration and any remaining secondary replicas might be
vulnerable to crash.
Workaround Connect to the SQL Server instance hosting the new primary replica and remove the faulty
secondary replica from the configuration.
ALTER AVAILABILITY GROUP agName REMOVE REPLICA ON NODE instanceName
The instance of SQL Server that hosted the secondary replica recovers.
More information
SQL Server Reporting Services release notes.
Known Issues for Machine Learning Services
SQL Server Update Center - links and information for all supported versions
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server 2016 Release Notes
12/4/2017 • 6 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2016) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This article describes limitations and issues with SQL Server 2016 releases.
Try it out:
Download SQL Server 2016 from the Evaluation Center
Have an Azure account? Then go Here to spin up a Virtual Machine with SQL Server 2016 SP1 already
installed.
[ SSMS: To get the latest version of SQL Server Management Studio, see Download SQL Server Management
Studio (SSMS).
For information on what's new, see What's New in SQL Server 2016.
Article sections:
SQL Server 2016 Service Pack 1 (SP1) available
SQL Server 2016 General Availability (GA)
SQL Server 2016 Release Candidate 3 (RC3)
Additionally, consider manual cleanup options to prevent Query Store from transitioning to read-only mode. For
example, run the following query to periodically clean entire data space:
ALTER DATABASE <database name> SET QUERY_STORE CLEAR
Also, execute the following Query Store stored procedures periodically to clean runtime statistics, specific queries
or plans:
sp_query_store_reset_exec_stats
sp_query_store_remove_plan
sp_query_store_remove_query
Use the option Choose online or local help and configure help for "I want to use online help".
Use the option Install content from online and download the SQL Server 2014 Content.
F1 Help: By design when you press F1 in SQL Server Management Studio, the online version of the F1 Help
article is displayed in the browser. The issues is browser-based help even when you have configured and
installed local Help.
Updating content:
In SQL Server Management Studio and Visual Studio, the Help Viewer application may freeze (hang) during the
process of adding the documentation. To resolve this issue, complete the following steps. For more information
about this issue, see Visual Studio Help Viewer freezes.
Open the %LOCALAPPDATA%\Microsoft\HelpViewer2.2\HlpViewer_SSMS16_en-US.settings |
HlpViewer_VisualStudio14_en-US.settings file in Notepad and change the date in the following code to some
date in the future.
Additional Information
SQL Server 2016 installation
SQL Server Update Center - links and information for all supported versions
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server 2014 Release Notes
12/4/2017 • 15 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2014) Azure SQL Database Azure SQL Data Warehouse
Parallel Data Warehouse
This Release Notes document describes known issues that you should read about before you install or troubleshoot
SQL Server 2014.
Contents
1.0 Before You Install
2.0 Product Documentation
3.0 Database Engine
4.0 Reporting Services
5.0 SQL Server 2014 on Windows Azure Virtual Machines
6.0 Analysis Services
7.0 Data Quality Services
8.0 Upgrade Advisor
Msg 41359
A query that accesses memory optimized tables using the READ COMMITTED
isolation level, cannot access disk based tables when the database option
READ_COMMITTED_SNAPSHOT is set to ON. Provide a supported isolation level
for the memory optimized table using a table hint, such as WITH (SNAPSHOT).
Workaround: Either use the table hint WITH (SNAPSHOT) with the table variable, or set the database option
MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT to ON, using the following statement:
3.2.6 Procedure and query execution statistics for natively compiled stored procedures record worker time in multiples of 1000
Issue: After enabling the collection of procedure or query execution statistics collection for natively compiled stored
procedures using sp_xtp_control_proc_exec_stats or sp_xtp_control_query_exec_stats, you will see the
*_worker_time reported in multiples of 1000, in the DMVs sys.dm_exec_procedure_stats and
sys.dm_exec_query_stats. Query executions that have a worker time of less than 500 microseconds will be reported
as having a worker_time of 0.
Workaround: None. Do not rely on worker_time reported in the execution stats DMVs for short-running queries in
natively compiled stored procedures.
3.2.7 Error with SHOWPLAN_XML for natively compiled stored procedures that contain long expressions
Issue: If a natively compiled stored procedure contains a long expression, obtaining the SHOWPLAN_XML for the
procedure, either using the T-SQL option SET SHOWPLAN_XML ON or using the option 'Display Estimated
Execution Plan' in Management Studio, may result in the following error:
Write:
SELECT((@v0 + ... + @v49) + (@v50 + ... + @v99)) + ((@v100 + ... + @v149) + (@v150 + ... + @v199))
2. Create a second procedure with a slightly simplified expression, for showplan purposes - the general shape
of the plan should be the same. For example, instead of:
Write:
3.2.8 Using a string parameter or variable with DATEPART and related functions in a natively compiled stored procedure results in an
error
Issue: When using a parameter or variable that has a string datatype such as (var)char or n(var)char with the built-
in functions DATEPART, DAY, MONTH, and YEAR inside a natively compiled stored procedure, you will see an error
message stating that the datatype datetimeoffset is not supported with natively compiled stored procedures.
Workaround: Assign the string parameter or variable to a new variable of type datetime2, and use that variable in
the function DATEPART, DAY, MONTH, or YEAR. For example:
For more information, see SQL Server 2014 Reporting Services Tips, Tricks, and Troubleshooting.
4.2 Required Upgrade Order for Multi-node SharePoint Farm to SQL Server 2014 Reporting Services
Issue: Report rendering in a multi-node farm fails if instances of the Reporting Services SharePoint Shared Service
are upgraded before all instances of the Reporting Services Add-in for SharePoint Products.
Workaround: In a multi-node SharePoint farm:
1. First upgrade all instances of the Reporting Services Add-in for SharePoint Products.
2. Then upgrade all instances of the Reporting Services SharePoint Shared Service.
For more information, see SQL Server 2014 Reporting Services Tips, Tricks, and Troubleshooting
Top
The installed version of Integration Services does not support Upgrade Advisor.
The assembly information is "Microsoft.SqlServer.ManagedDTS, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91
Workaround: This issue is fixed in the SQL Server Upgrade Advisor provided in the SQL Server 2014 Feature Pack
for SSUA.
Top
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server 2012 SP4 release notes
12/4/2017 • 4 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2012) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This topic summarizes the improvements included with SQL Server 2012 SP4. The topics also describes issues to
review before you install or troubleshoot the installation of SP4. Release Notes are available online only, not on the
installation media. This topic is updated periodically as issues are discovered. For a detailed list of fixes in SP4, see
SQL Server 2012 SP4 Release.
Service pack 4 includes all of the SQL Server 2012 SP3 cumulative updates.
Download pages
The following items link to the primary download packages for SQL Server 2012 SP3. Download pages have
system requirements and basic installation instructions.
SQL Server 2012 SP4 Patch installation
SQL Server 2012 SP4 Express
Microsoft SQL Server 2012 SP4 Feature Pack
See Also
Install SQL Server 2012 Servicing Updates
How to identify your SQL Server version and edition
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server 2012 SP3 Release Notes
12/4/2017 • 1 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2012) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
These Release Notes describe issues you need to know before you install or troubleshoot SQL Server 2012 Service
Pack 3. Release Notes are available online only, not on the installation media. They are updated periodically as
issues are discovered. For a list o enhancements and fixes, see SQL Server 2012 Service Pack 3 release information
for more information.
Download Pages
The following link to the main download packages for SQL Server 2012 SP3.
SQL Server 2012 SP3
SQL Server 2012 SP3 Express
Microsoft SQL Server 2012 SP3 Feature Pack
For more detailed information to identify the location and name of the file to download based on your currently
installed version, see the "Select the correct file to download" section in SQL Server 2012 Service Pack 3 release
information.
See Also
Install SQL Server 2012 Servicing Updates
How to identify your SQL Server version and edition
SQL Server 2012 SP2 Release Notes
12/4/2017 • 2 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2012) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
These Release Notes describe issues you need to know before you install or troubleshoot SQL Server 2012 Service
Pack 2. Release Notes are available online only, not on the installation media. They are updated periodically as
issues are discovered. See bugs that are fixed in SQL Server 2012 Service Pack 2 for more information.
Currently installed version is... And you want to... Download and install...
32-bit Installations:
A 32-bit version of any edition of SQL Upgrade to the 32-bit version of SQL SQLServer2012SP2-
Server 2012 Server 2012 SP2 KB2958429--.exe from SQL Server
2012 SP2 download page
A 32-bit version of SQL Server 2012 Upgrade to the 32-bit version of SQL SQLEXPR__.msi from SQL Server 2012
RTM Express Server 2012 Express SP2 SP2 Express download page
A 32-bit version of only the client and Upgrade the client and manageability SQLEXPRWT__.msi from SQL Server
manageability tools for SQL Server tools to the 32-bit version of SQL 2012 SP2 Express download page
2012 (including SQL Server 2012 Server 2012 SP2
Management Studio)
A 32-bit version of SQL Server 2012 Upgrade to the 32-bit version of SQL SQLManagementStudio__.msi from
Management Studio Express Server 2012 SP2 Management Studio SQL Server 2012 SP2 Express download
Express page
A 32-bit version of any edition of SQL Upgrade all products to the 32-bit SQLEXPRADV__.msi from SQL Server
Server 2012 and a 32-bit version of the version of SQL Server 2012 SP2 2012 SP2 Express download page.
client and manageability tools (including
SQL Server 2012 RTM Management
Studio)
A 32-bit version of one or more tools Upgrade the tools to the 32-bit version One or more tools from Microsoft SQL
from the Microsoft SQL Server 2012 of Microsoft SQL Server 2012 SP2 Server 2012 SP2 Feature Pack
RTM Feature Pack or the Microsoft SQL Feature Pack download page
Server 2012 SP1 Feature Pack
64-bit Installations:
A 64-bit version of any edition of SQL Upgrade to the 64-bit version of SQL SQLServer2012SP2-KB2958429--.exe
Server 2012 Server 2012 SP2 from SQL Server 2012 SP2 download
page
A 64-bit version of SQL Server 2012 Upgrade to the 64-bit version of SQL SQLEXPR__.msi from SQL Server 2012
RTM Express Server 2012 SP2 SP2 Express download page
A 64-bit version of only the client and Upgrade the client and manageability SQLEXPRWT__.msi from SQL Server
manageability tools for SQL Server tools to the 64-bit version of SQL 2012 SP2 Express download page
2012 (including SQL Server 2012 Server 2012 SP2
Management Studio)
A 64-bit version of SQL Server 2012 Upgrade to the 64-bit version of SQL SQLManagementStudio__.msi from
Management Studio Express Server 2012 SP2 Management Studio SQL Server 2012 SP2 Express download
Express page
A 64-bit version of one or more tools Upgrade the tools to the 64-bit version One or more tools from Microsoft SQL
from the Microsoft SQL Server 2012 of Microsoft SQL Server 2012 SP2 Server 2012 SP2 Feature Pack
RTM Feature Pack or the Microsoft SQL Feature Pack download page
Server 2012 SP1 Feature Pack
SQL Server 2012 SP1 Release Notes
12/4/2017 • 11 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2012) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This Release Notes document describes known issues that you should read about before you install or troubleshoot
Microsoft SQL Server 2012 Service Pack 1. This Release Notes document is available online only, not on the
installation media, and it is updated periodically.
Contents
1.0 Before You Install
2.0 Analysis Services and PowerPivot
3.0 Reporting Services
4.0 Data Quality Services
5.0 SQL Server Express
6.0 Change Data Capture Service and Designer for Oracle by Attunity
7.0 SQL Server Data-Tier Application Framework (DACFx)
8.0 Known Issues Fixed in this Service Pack
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
32-bit Installations:
A 32-bit version of any edition of SQL Upgrade to the 32-bit version of SQL SQLServer2012SP1-KB2674319-x86-
Server 2012 Server 2012 SP1 ENU.exe from here
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
A 32-bit version of SQL Server 2012 Upgrade to the 32-bit version of SQL SQLServer2012SP1-KB2674319-x86-
RTM Express Server 2012 Express SP1 ENU.exe from here
A 32-bit version of only the client and Upgrade the client and manageability SQLManagementStudio_x86_ENU.exe
manageability tools for SQL Server tools to the 32-bit version of SQL from here
2012 (including SQL Server 2012 Server 2012 SP1
Management Studio)
A 32-bit version of SQL Server 2012 Upgrade to the 32-bit version of SQL SQLManagementStudio_x86_ENU.exe
Management Studio Express Server 2012 SP1 Management Studio from here
Express
A 32-bit version of any edition of SQL Upgrade all products to the 32-bit SQLServer2012SP1-KB2674319-x86-
Server 2012 and a 32-bit version of the version of SQL Server 2012 SP1 ENU.exe from here
client and manageability tools (including
SQL Server 2012 RTM Management
Studio)
A 32-bit version of one or more tools Upgrade the tools to the 32-bit version One or more files from Microsoft SQL
from the Microsoft SQL Server 2012 of Microsoft SQL Server 2012 SP1 Server 2012 SP1 Feature Pack
RTM Feature Pack Feature Pack
No 32-bit installation of SQL Server Install 32-bit Server 2012 including SP1 SQLServer2012SP1-FullSlipstream-x86-
2012 (New instance with SP1 pre-installed) ENU.exe and SQLServer2012SP1-
FullSlipstream-x86-ENU.box from here
No 32-bit installation of SQL Server Install 32-bit SQL Server 2012 SQLManagementStudio_x86_ENU.exe
2012 Management Studio Management Studio including SP1 from here
No 32-bit version of SQL Server 2012 Install 32-bit SQL Server 2012 Express SQLEXPR32_x86_ENU.exe from here
RTM Express including SP1
A 32-bit installation of SQL Server In place upgrade to 32-bit SQL Server SQLServer2012SP1-FullSlipstream-x86-
2008 or SQL Server 2008 R2 2012 including SP1 ENU.exe and SQLServer2012SP1-
FullSlipstream-x86-ENU.box from here
64-bit Installations:
A 64-bit version of any edition of SQL Upgrade to the 64-bit version of SQL SQLServer2012SP1-KB2674319-x64-
Server 2012 Server 2012 SP1 ENU.exe from here
A 64-bit version of SQL Server 2012 Upgrade to the 64-bit version of SQL SQLServer2012SP1-KB2674319-x64-
RTM Express Server 2012 SP1 ENU.exe from here
A 64-bit version of only the client and Upgrade the client and manageability SQLManagementStudio_x64_ENU.exe
manageability tools for SQL Server tools to the 64-bit version of SQL from here
2012 (including SQL Server 2012 Server 2012 SP1
Management Studio)
A 64-bit version of SQL Server 2012 Upgrade to the 64-bit version of SQL SQLManagementStudio_x64_ENU.exe
Management Studio Express Server 2012 SP1 Management Studio from here
Express
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
A 64-bit version of any edition of SQL Upgrade all products to the 64-bit SQLServer2012SP1-KB2674319-x64-
Server 2012 and a 64-bit version of the version of SQL Server 2012 SP1 ENU.exe from here
client and manageability tools (including
SQL Server 2012 RTM Management
Studio)
A 64-bit version of one or more tools Upgrade the tools to the 64-bit version One or more files from Microsoft SQL
from the Microsoft SQL Server 2012 of Microsoft SQL Server 2012 SP1 Server 2012 SP1 Feature Pack
RTM Feature Pack Feature Pack
No 64-bit installation of SQL Server Install 64-bit Server 2012 including SP1 SQLServer2012SP1-FullSlipstream-x64-
2012 (New instance with SP1 pre-installed) ENU.exe and SQLServer2012SP1-
FullSlipstream-x64-ENU.box from here
No 64-bit installation of SQL Server Install 64-bit SQL Server 2012 SQLManagementStudio_x64_ENU.exe
2012 Management Studio Management Studio including SP1 from here
No 64-bit version of SQL Server 2012 Install 64-bit SQL Server 2012 Express SQLEXPR_x64_ENU.exe from here
RTM Express including SP1
A 64-bit installation of SQL Server In place upgrade to 64-bit SQL Server SQLServer2012SP1-FullSlipstream-x64-
2008 or SQL Server 2008 R2 2012 including SP1 ENU.exe and SQLServer2012SP1-
FullSlipstream-x64-ENU.box from here
Contents
6.0 Change Data Capture Service and Designer for Oracle by Attunity
6.1 Upgrading the CDC Service and Designer
Issue: If the Change Data Capture Designer for Oracle and the Change Data Capture Service for Oracle by Attunity
are installed on your machine at the time that you install SQL Server 2012 SP1, these components are not
upgraded by installing SP1.
Workaround: To upgrade the CDC components to the latest version:
1. Download the .msi files for Change Data Capture Service for Oracle by Attunity from the SQL Server 2012
SP1 Feature Pack download page.
2. Run the .msi file.
Contents
See Also
How to determine the version and edition of SQL Server
Features Supported by the Editions of SQL Server 2014
SQL Server 2012 Release Notes
12/4/2017 • 36 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2012) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
This Release Notes document describes known issues that you should read about before you install or troubleshoot
Microsoft SQL Server 2012 (click here to download it). This Release Notes document is available online only, not on
the installation media, and it is updated periodically.
For information about how to get started and install SQL Server 2012, see the SQL Server 2012 Readme. The
Readme document is available on the installation media and from the Readme download page. You can also find
more information in SQL Server Books Online and on the SQL Server Forums.
or
Workaround: This can happen when SQL Server Engine or Analysis Services fails to install. To fix this issue, refer
the SQL Server Setup logs, and troubleshoot the SQL Server Engine and Analysis Services failures. For more
information, see View and Read SQL Server Setup Log Files. For more information, see View and Read SQL Server
Setup Log Files.
1.4 SQL Server 2008, 2008 R2 Analysis Services Failover Cluster upgrade to SQL Server 2012 might fail after
renaming the network name
Issue: After you change the network name of a Microsoft SQL Server 2008, or 2008 R2 Analysis Services failover
cluster instance using the Windows Cluster Administrator tool, the upgrade operation might fail.
Workaround: To resolve this issue update the ClusterName registry entry following the instructions in the
resolution section of this KB article.
1.5 Installing SQL Server 2012 on Windows Server 2008 R2 Server Core Service Pack 1
You can install SQL Server on Windows Server 2008 R2 Server Core SP1, with the following limitations:
Microsoft SQL Server 2012 does not support Setup using the installation wizard on the Server Core
operating system. When installing on Server Core, SQL Server Setup supports full quiet mode by using the
/Q parameter, or Quiet Simple mode by using the /QS parameter.
Upgrade of an earlier version of SQL Server to Microsoft SQL Server 2012 is not supported on a computer
that is running Windows Server 2008 R2 Server Core SP1.
Installing a 32-bit version of Microsoft SQL Server 2012 edition is not supported on a computer running
Windows Server 2008 R2 Server Core SP1.
Microsoft SQL Server 2012 cannot be installed side-by-side with earlier versions of SQL Server on a
computer that is running Windows Server 2008 R2 Server Core SP1.
Not all features of SQL Server 2012 are supported on the Server Core operating system. For more
information on features supported, and on installing SQL Server 2012 on Server Core, see Install SQL Server
2012 on Server Core.
1.6 Semantic Search Requires You to Install an Additional Dependency
Issue: Statistical Semantic Search has an additional prerequisite, the semantic language statistics database, which is
not installed by the SQL Server Setup program.
Workaround: To set up the semantic language statistics database as a prerequisite for semantic indexing, perform
the following tasks:
1. Locate and run the Windows Installer package named SemanticLanguageDatabase.msi on the SQL Server
installation media to extract the database. For SQL Server 2012 Express, download the semantic language
statistics database from Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=221787), and
then run the Windows Installer package.
2. Move the database to an appropriate data folder. If you leave the database in the default location, you must
change permissions before you can attach it successfully.
3. Attach the extracted database.
4. Register the database by calling the stored procedure
sp_fulltext_semantic_register_language_statistics_db and providing the name that you gave to the
database when you attached it.
If these tasks are not completed, you will see the following error message when you try to create a semantic index.
Import-Module ServerManager
Add-WindowsFeature as-net-framework
Use the following method to enable .NET Framework 3.5 SP1 on Windows 7 SP1:
1. Click Start | Control Panel | Programs, and then click Turn Windows features on or off. If
you are prompted for an administrator password or confirmation, type the password or
provide confirmation.
2. To enable Microsoft .NET Framework 3.5.1, select the check box next to the feature. To turn a
Windows feature off, clear the check box.
3. Click OK.
Use Deployment Image Servicing and Management (DISM.exe) to enable .NET Framework
3.5 SP1:
You can also enable .NET Framework 3.5 SP1 using Deployment Image Servicing and Management
(DISM.exe). For more information about enabling windows features online, see Enable or Disable
Windows Features Online. The following are the instructions to enable .NET Framework 3.5 SP1:
1. At the command prompt, type the following command to list all of the features available in the
operating system.
sm /online /Get-Features
2. Optional: At the command prompt, type the following command to list information about the
specific feature you are interested in.
The .NET Framework 4 is a requirement for SQL Server 2012 . SQL Server Setup installs the .NET Framework
4 during the feature installation step.
SQL Server 2012 Express does not install the .NET Framework 4 when installing on the Windows Server
2008 R2 SP1 Server Core operating system. When installing SQL Server 2012 Express (Database only) .NET
Framework 4 is not required if .NET Framework 3.5 SP1 is present. When .NET Framework 3.5 SP1 is not
present or when installing SQL Server 2012 Management Studio Express, SQL Server 2012 Express with
Tools, or SQL Server 2012 Express with Advanced Services, you must install the .NET Framework 4 before
you install SQL Server2012 Express on a Windows Server 2008 R2 SP1 Server Core operating system.
To make sure that the Visual Studio component can be installed correctly, SQL Server requires you to install
an update. SQL Server Setup checks for the presence of this update and then requires you to download and
install the update before you can continue with the SQL Server installation. To avoid the interruption during
SQL Server Setup, you can download and install the update as described below before running SQL Server
Setup (or you can install all the updates for the .NET Framework 3.5 SP1 that are available on Windows
Update):
If you install SQL Server 2012 on a computer with the Windows Vista SP2 or Windows Server 2008
SP2 operating system, you can get the required update from here.
If you install SQL Server 2012 on a computer with the Windows 7 SP1 or Windows Server 2008 R2
SP1 operating system, this update is already installed on the computer.
Windows PowerShell 2.0 is a prerequisite for installing SQL Server 2012 Database Engine components and
SQL Server Management Studio, but Windows PowerShell is no longer installed by SQL Server Setup. If
PowerShell 2.0 is not present on your computer, you can enable it by following the instructions on the
Windows Management Framework page. How you get Windows PowerShell 2.0 depends on which
operating system you are running:
Windows Server 2008 – Windows PowerShell 1.0 is a feature and can be added. Windows PowerShell
2.0 versions are downloaded and installed (effectively as an OS Patch).
Windows 7/Windows Server 2008 R2 – Windows PowerShell 2.0 are installed by default.
If you plan to use SQL Server 2012 features in a SharePoint environment, then SharePoint Server 2010
Service Pack 1 (SP1) and the SharePoint August Cumulative Update is required. You must install SP1, the
SharePoint August Cumulative Update, and fully patch the server farm before you add SQL Server 2012
features to the farm. This requirement applies to the following SQL Server 2012 features: using an instance
of Database Engine as the farm's database server, configuring PowerPivot for SharePoint, or deploying
Reporting Services in SharePoint mode.
1.8 Supported Operating Systems for SQL Server 2012
SQL Server 2012 is supported on the Windows Vista SP2, Windows Server 2008 SP2, Windows 2008 R2 SP1, and
Windows 7 SP1 operating systems.
1.9 Sync Framework Is Not Included in the Installation Package
Issue: Sync Framework is not included in the SQL Server 2012 installation package.
Workaround: Download the appropriate version of Sync Framework from this Microsoft Download Center page.
1.10 If Visual Studio 2010 Service Pack 1 is uninstalled, the SQL Server 2012 instance must be repaired to restore
certain components
Issue: SQL Server 2012 installation is dependent on some components of the Visual Studio 2010 Service Pack 1. If
you uninstall Service Pack 1, some of the shared components are downgraded to their original versions, and a few
other components are completely removed from the machine.
Workaround: Repair the instance of SQL Server 2012 from the original source media or network installation
location.
1. Launch the SQL Server Setup program (setup.exe) from SQL Server installation media.
2. After prerequisites and system verification, the Setup program will display the SQL Server Installation
Center page.
3. Click Maintenance in the left-hand navigation area, and then click Repair to start the repair operation. If the
Installation Center was launched using the Start menu, you will need to provide the location of the
installation media at this time.
4. Setup support rule and file routines will run to ensure that your system has prerequisites installed and that
the computer passes Setup validation rules. Click OK or Install to continue.
5. On the Select Instance page, select the instance to repair, and then click Next to continue.
6. The repair rules will run to validate the operation. To continue, click Next.
7. The Ready to Repair page indicates that the operation is ready to proceed. To continue, click Repair.
8. The Repair Progress page shows the status of the repair operation. The Complete page indicates that the
operation is finished.
For more information on how to repair an instance of SQL Server, see Repair a Failed SQL Server 2012 Installation.
1.11 An instance of SQL Server 2012 might fail after an OS upgrade
Issue: An instance of SQL Server 2012 might fail with the following error after you upgrade the operating system
to Windows 7 SP1 from Windows Vista.
Setup has detected that the .NET Framework version 4 needs to be repaired. Do not restart your computer until
Setup is complete.
Workaround: Repair your installation of the .NET Framework 4 after you upgrade your operating system. For
more information, see How to repair an existing installation of the.NET Framework.
1.12 SQL Server Edition upgrade requires a restart
Issue: When you edition upgrade an instance of SQL Server 2012, some of the functionalities associated with the
new edition might not be activated immediately.
Workaround: Restart the machine after the edition upgrade of an instance of SQL Server 2012. For more
information about supported upgrades in SQL Server 2012, see Supported Version and Edition Upgrades.
1.13 Database with read-only filegroup or files cannot be upgraded
Issue: You cannot upgrade a database by either attaching the database or restoring the database from backup if the
database or its files/filegroups are set to read-only. Error 3415 is returned. This issue also applies when performing
an in-place upgrade of an instance of SQL Server. That is, you attempt to replace an existing instance of SQL Server
by installing SQL Server 2012 and one or more of the existing databases is set to read-only.
Workaround: Before upgrading, ensure that the database and its files/filegroups are set to read-write.
1.14 Reinstalling an instance of SQL Server Failover Custer fails if you use the same IP address
Issue: If you specify an incorrect IP address during an installation of a SQL Server Failover Cluster instance, the
installation fails. After you uninstall the failed instance, and if you try to reinstall the SQL Server failover cluster
instance with the same instance name, and correct IP address, the installation fails. The failure is because of the
duplicate resource group left behind by the previous installation.
Workaround: To resolve this issue, use a different instance name during the reinstallation, or manually delete the
resource group before reinstalling. For more information, see Add or Remove Nodes in a SQL Server Failover
Cluster.
Workarounds:
Re-join the workspace database server and SQL Server Data Tools (SSDT) computer to the domain.
If the workspace database server and/or SSDT computers are not going to be domain joined at all times, add
individual user names instead of the BUILTIN\Administrators group as administrators on the workspace
database server.
2.3 SSIS Components for AS Tabular Models Do Not Work as Expected
SQL Server Integration Services (SSIS) components for Analysis Services (AS) do not work as expected for tabular
models. The following are known issues that may occur when you try to write an SSIS package for working with
tabular models.
Issue: The AS Connection Manager cannot use a tabular model in the same solution as a data source.
Workaround: You must explicitly connect to the AS server before configuring the AS Processing Task or the AS
Execute DDL Task.
There are problems with the AS Processing Task when you work with tabular models:
Issue: Instead of databases, tables, and partitions, you see cubes, measure groups, and dimensions. This is a
limitation of the task.
Workaround: You can still process your tabular model using the cube/measure group/dimension structure.
Issue: Some processing options supported by AS running in tabular mode are not exposed in the AS Processing
Task, such as Process Defrag.
Workaround: Use the Analysis Services Execute DDL task instead to execute an XMLA script that contains the
ProcessDefrag command.
Issue: Some configuration options in the tool are not applicable. For example, "Process related objects" should not
be used when processing partitions, and the "Parallel Processing" configuration option contains an invalid error
message stating that parallel processing is not supported on the Standard SKU.
Workaround: None
3.0 Books Online
3.1 Help Viewer for SQL Server Crashes in Environments Configured to Run Only IPv6
Issue: If your environment is configured to run only IPv6, the Help Viewer for SQL Server 2012 will crash, and you
will be presented with the following error message:
HelpLibAgent.exe has stopped working.
IMPORTANT
This applies to all environments running with only IPv6 enabled. IPv4 (and IPv4 with IPv6) enabled environments are not
impacted.
Workaround: To avoid this issue, enable IPv4, or use the following steps to add a registry entry and create an ACL
to enable the Help viewer for IPv6:
1. Create a registry key with the name “IPv6” and a value of “1 (DWORD(32 bit))” under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Help\v1.0.
2. Set the security ACL’s for the port for IPv6, executing the following from an admin CMD window:
This occurs because of the difference in the way DQS compares strings in the SQL Server database and C#. The
string comparison in the SQL Server database is case insensitive whereas it is case sensitive in C#.
Let us illustrate this with an example. Consider a user, Domain\user1. The user logs on to the Data Quality Client
computer using the “user1” account, and works on a knowledge base. DQS stores the recent knowledge base for
each user as a record in the A_CONFIGURATION table in the DQS_MAIN database. In this case, the record will be
stored with the following name: RecentList:KB:Domain\user1. Later, the user logs on the Data Quality Client
computer as “User1” (note the U in upper case), and tries to open the knowledge base in the Recent Knowledge
Base list for the domain management activity. The underlying code in DQS will compare the two strings,
RecentList:KB:DOMAIN\user1 and DOMAIN\User1, and considering the case-sensitive string comparison in C#, the
strings won’t match and therefore DQS will attempt to insert a new record for the user (User1) in the
A_CONFIGURATION table in the DQS_MAIN database. However, owing to the case-insensitive string comparison in
SQL database, the string already exists in the A_CONFIGURATION table in the DQS_MAIN database, and the insert
operation will fail.
Workaround: To fix this issue, you can do one of the following:
Verify that duplicate entries exist by running the following statement:
Next, you can run the following statement to delete the record just for the affected user by changing the
value in the WHERE clause to match the affected domain and user name.
Alternatively, you could remove all recent items for all users in DQS:
Use same capitalization as the last time to specify your user account while logging on to the Data Quality
Client computer.
NOTE
To avoid this issue, use consistent capitalization rules to specify your user account while logging on the Data Quality Client
computer.
ADDITIONAL INFORMATION:
Invalid object name 'sys.federations'. (Microsoft SQL Server, Error: 208)
Workaround: Close and reopen the Generate Scripts Wizard.
5.5 New Maintenance Plan Layout Not Compatible with Earlier SQL Server Tools
Issue: When SQL Server 2012 management tools are used to modify an existing maintenance plan created in a
previous version of SQL Server management tools (SQL Server 2008 R2, SQL Server 2008, or SQL Server 2005),
the maintenance plan is saved in a new format. Earlier versions of SQL Server management tools do not support
this new format.
Workaround: None
5.6 Intellisense Has Limitations When Logged in to a Contained Database
Issue: Intellisense in SQL Server Management Studio (SSMS) and SQL Server Data Tools (SSDT) does not function
as expected when contained users are logged in to contained databases. The following behavior is seen in such
cases:
1. Underlining for invalid objects does not appear.
2. Auto-complete list does not appear.
3. Tooltip help for built-in functions does not work.
Workaround: None
5.7 AlwaysOn Availability Groups
Before you attempt to create an availability group, see Prerequisites, Restrictions, and Recommendations for
AlwaysOn Availability Groups (SQL Server) in Books Online. For an introduction to AlwaysOn Availability Groups,
see AlwaysOn Availability Groups (SQL Server)in Books Online.
5.7.1 Client-Connectivity for AlwaysOn Availability Groups
Updated on: August 13, 2012
This section describes driver support for AlwaysOn Availability Groups and workarounds for not supported drivers.
Driver Support
The following table summarizes driver support for AlwaysOn Availability Groups:
MULTI-SUBNET
MULTI-SUBNET FAILOVER: NAMED
FAILOVER: FASTER INSTANCE
SINGLE SUBNET RESOLUTION FOR
MULTI-SUBNET APPLICATION READ-ONLY ENDPOINT SQL CLUSTERED
DRIVER FAILOVER INTENT ROUTING FAILOVER INSTANCES
* Download the connectivity patch for ADO .NET with .NET Framework 4.0:
http://support.microsoft.com/kb/2600211.
** Download the connectivity patch for ADO.NET with .NET Framework 3.5 SP1:
http://support.microsoft.com/kb/2654347.
MultiSubnetFailover Keyword and Associated Features
MultiSubnetFailover is a new connection string keyword used to enable faster failover with AlwaysOn Availability
Groups and AlwaysOn Failover Cluster Instances in SQL Server 2012. The following three sub-features are enabled
when MultiSubnetFailover=True is set in connection string:
Faster multi-subnet failover to a multi-subnet listener for an AlwaysOn Availability Group or Failover Cluster
Instances.
Named instance resolution to a multi-subnet AlwaysOn Failover Cluster Instance.
Faster single subnet failover to a single subnet listener for an AlwaysOn Availability Group or Failover
Cluster Instances.
This feature is used when connecting to a listener that has a single IP in a single subnet. This performs
more aggressive TCP connection retries to speed up single subnet failovers.
Named instance resolution to a multi-subnet AlwaysOn Failover Cluster Instance.
This is to add named instance resolution support for an AlwaysOn Failover Cluster Instances with
multiple subnet endpoints.
MultiSubnetFailover=True Not Supported by NET Framework 3.5 or OLEDB
Issue: If your Availability Group or Failover Cluster Instance has a listener name (known as the network name or
Client Access Point in the WSFC Cluster Manager) depending on multiple IP addresses from different subnets, and
you are using either ADO.NET with .NET Framework 3.5SP1 or SQL Native Client 11.0 OLEDB, potentially, 50% of
your client-connection requests to the availability group listener will hit a connection timeout.
Workarounds: We recommend that you do one of the following tasks.
If do not have the permission to manipulate cluster resources, change your connection timeout to 30
seconds (this value results in a 20-second TCP timeout period plus a 10-second buffer).
Pros: If a cross-subnet failover occurs, client recovery time is short.
Cons: Half of the client connections will take more than 20 seconds
If you have the permission to manipulate cluster resources, the more recommended approach is to set the
network name of your availability group listener to RegisterAllProvidersIP=0. For more information, see
"Sample PowerShell Script to Disable RegisterAllProvidersIP and Reduce TTL", later in this section.
Pros: You do not need to increase your client-connection timeout value.
Cons: If a cross-subnet failover occurs, the client recovery time could be 15 minutes or longer, depending on
your HostRecordTTL setting and the setting of your cross-site DNS/AD replication schedule.
Sample PowerShell Script to Disable RegisterAllProvidersIP and Reduce TTL
The following sample PowerShell script demonstrates how to disable RegisterAllProvidersIP and reduce TTL.
Replace yourListenerName with the name of the listener you are changing.
Import-Module FailoverClusters
Get-ClusterResource yourListenerName|Set-ClusterParameter RegisterAllProvidersIP 0
Get-ClusterResource yourListenerName|Set-ClusterParameter HostRecordTTL 300
5.7.2 Upgrading from CTP3 with availability group configured is not supported
Drop the availability group and recreate it before you upgrade. This is due to a limitation in the CTP3 build. Future
builds will not have this restriction.
5.7.3 Side by Side Installation of CTP3 with later versions is not supported if you have an availability group configured in your instance
This is due to a limitation in the CTP3 build. Future builds will not have this restriction.
5.7.4 Side by Side Installation of CTP3 with later versions of Failover Cluster Instances is not supported.
This is due to a limitation in the CTP3 build. Future builds will not have this restriction. To upgrade failover cluster
instances from CTP3 make sure to upgrade all instances on a node at the same time.
5.7.5 Timeouts may occur when using multi IPs in the same subnet with AlwaysOn
Issue: When using multi IPs in the same subnet with AlwaysOn, customers may sometimes see a timeout. This
happens if the top IP in the list is bad.
Workaround: Use 'multisubnetfailover = true' in the connection string.
5.7.6 Failure to Create New Availability Group Listeners Because of Active Directory Quotas
Issue: The creation of a new availability group listener may fail upon creation because you have reached an Active
Directory quota for the participating cluster node machine account. For more information, see How to troubleshoot
the Cluster service account when it modifies computer objects and Active Directory Quotas.,
5.7.7 NetBIOS Conflicts Because Availability Group Listener Names Use an Identical 15-Character Prefix
If you have two WSFC clusters that are controlled by the same Active Directory and you try to create availability
group listeners in both of clusters using names with more than 15 characters and an identical 15 character prefix,
you will get an error reporting that the Virtual Network Name resource could not be brought online. For
information about prefix naming rules for DNS names, see Assigning Domain Names
9.0 StreamInsight
SQL Server 2012 includes StreamInsight 2.0. StreamInsight 2.0 requires a Microsoft SQL Server 2012 license and
.NET Framework 4.0. It includes a number of performance improvements along with few bug fixes. For more
information see the Microsoft StreamInsight 2.0 Release Notes. In order to download StreamInsight 2.0 separately,
please visit the Microsoft StreamInsight 2.0 download page on the Microsoft Download Center.
THIS TOPIC APPLIES TO: SQL Server (starting with 2008) Azure SQL Database Azure SQL Data Warehouse
Parallel Data Warehouse
This Release Notes document describes known issues that you should read about before you install or troubleshoot
Microsoft SQL Server 2008 R2 Service Pack 2. This Release Notes document applies to all editions of SQL Server
2008 R2 SP2 and is available online only. It is updated periodically.
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
A 32-bit version of any edition of SQL Upgrade to the 32-bit version of SQL SQLServer2008R2SP2-KB2630458-x86-
Server 2008 R2 or SQL Server 2008 R2 Server 2008 R2 SP2 ENU from here
SP1
A 32-bit version of SQL Server 2008 R2 Upgrade to the 32-bit version of SQL SQLServer2008R2SP2-KB2630458-x86-
RTM Express or SQL Server 2008 R2 Server 2008 R2 SP2 ENU.exe from here
SP1 Express
A 32-bit version of only the client and Upgrade the client and manageability SQLServer2008R2SP2-KB2630458-x86-
manageability tools for SQL Server tools to the 32-bit version of SQL ENU.exe from here
2008 R2 or SQL Server 2008 R2 SP1 Server 2008 R2 SP2
(including SQL Server 2008 R2
Management Studio)
A 32-bit version of SQL Server 2008 R2 Upgrade to the 32-bit version of SQL SQLManagementStudio_x86_ENU.exe
Management Studio Express or SQL Server 2008 R2 SP2 Management from here
Server 2008 R2 SP1 Management Studio Express
Studio Express
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
A 32-bit version of any edition of SQL Upgrade all products to the 32-bit SQLServer2008R2SP2-KB2630458-x86-
Server 2008 R2 or SQL Server 2008 R2 version of SQL Server 2008 R2 SP2 ENU.exe from here
SP1 and a 32-bit version of the client
and manageability tools (including SQL
Server 2008 R2 RTM Management
Studio)
A 32-bit version of one or more tools Upgrade the tools to the 32-bit version One or more files from Microsoft SQL
from the Microsoft SQL Server 2008 R2 of Microsoft SQL Server 2008 R2 SP2 Server 2008 R2 SP2 Feature Pack
RTM Feature Pack Feature Pack
No 32-bit installation of SQL Server Install Server 2008 R2 including SP2 Go to SQL Server 2008 R2 SP2 –
2008 R2 Express Edition and follow the
instructions.
A 64-bit version of any edition of SQL Upgrade to the 64-bit version of SQL SQLServer2008R2SP2-KB2630458-x64-
Server 2008 R2 or SQL Server 2008 R2 Server 2008 R2 SP2 ENU or SQLServer2008R2SP2-
SP1 KB2630455-IA64-ENU.exe from here
A 64-bit version of SQL Server 2008 R2 Upgrade to the 64-bit version of SQL SQLServer2008R2SP2-KB2630458-x64-
RTM Express or SQL Server 2008 R2 Server 2008 R2 SP2 ENU.exe or SQLServer2008R2SP2-
SP1 Express KB2630455-IA64-ENU.exe from here
A 64-bit version of only the client and Upgrade the client and manageability SQLServer2008R2SP2-KB2630458-x64-
manageability tools for SQL Server tools to the 64-bit version of SQL ENU.exe or SQLServer2008R2SP2-
2008 R2 or SQL Server 2008 R2 SP1 Server 2008 R2 SP2 KB2630455-IA64-ENU.exe from here
(including SQL Server 2008 R2
Management Studio)
A 64-bit version of SQL Server 2008 R2 Upgrade to the 64-bit version of SQL SQLManagementStudio_x64_ENU.exe
Management Studio Express or SQL Server 2008 R2 SP2 Management from here
Server 2008 R2 SP1 Management Studio Express
Studio Express
A 64-bit version of any edition of SQL Upgrade all products to the 64-bit SQLServer2008R2SP2-KB2630458-x64-
Server 2008 R2 or SQL Server 2008 R2 version of SQL Server 2008 R2 SP2 ENU.exe from here
SP1 and a 64-bit version of the client
and manageability tools (including SQL
Server 2008 R2 RTM Management
Studio)
A 64-bit version of one or more tools Upgrade the tools to the 64-bit version One or more files from Microsoft SQL
from the Microsoft SQL Server 2008 R2 of Microsoft SQL Server 2008 R2 SP2 Server 2008 R2 SP2 Feature Pack
RTM Feature Pack Feature Pack
No 64-bit installation of SQL Server Install Server 2008 R2 including SP2 Go to SQL Server 2008 R2 SP2 –
2008 R2 Express Edition and follow the
instructions.
IF YOUR CURRENT INSTALLED VERSION IS... AND YOU WANT TO... DOWNLOAD AND INSTALL...
See Also
How to determine the version and edition of SQL Server
About SQL Server Analysis Services
2/22/2018 • 1 min to read • Edit Online
Analysis Services is an analytical data engine used in decision support and business analytics. It provides
enterprise-grade semantic data models for business reports and client applications such as Power BI, Excel,
Reporting Services reports, and other data visualization tools.
A typical workflow includes creating a tabular or multidimensional data model project in Visual Studio, deploying
the model as a database to a server instance, setting up recurring data processing, and assigning permissions to
allow data access by end-users. When it's ready to go, your semantic data model can be accessed by client
applications supporting Analysis Services as a data source.
Analysis Services is available in two different platforms:
Azure Analysis Services - Supports tabular models at the 1200 and higher compatibility levels. DirectQuery,
partitions, row-level security, bi-directional relationships, and translations are all supported. To learn more, see
Azure Analysis Services.
SQL Server Analysis Services - Supports tabular models at all compatibility levels, multidimensional models, data
mining, and Power Pivot for SharePoint.
Documentation by area
In general, Azure Analysis Services documentation is included with Azure documentation. If you're interested in
having your tabular models in the cloud, it's best to start there. This article and documentation in this section is
mostly for SQL Server Analysis Services. However, at least for tabular models, how you create and deploy your
tabular model projects is much the same, regardless of the platform you're using. Check out these sections to learn
more:
Comparing Tabular and Multidimensional Solutions
Install SQL Server Analysis Services
Tabular models
Multidimensional models
Data Mining
Power Pivot for SharePoint
Tutorials
Server management
Developer documentation
Technical reference
See also
Azure Analysis Services documentation
SQL Server Documentation
SQL Server Database Engine
1/17/2018 • 1 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (starting with 2016) Azure SQL Database Azure SQL Data
Warehouse Parallel Data Warehouse
The Database Engine is the core service for storing, processing, and securing data. The Database Engine provides
controlled access and rapid transaction processing to meet the requirements of the most demanding data
consuming applications within your enterprise.
Use the Database Engine to create relational databases for online transaction processing or online analytical
processing data. This includes creating tables for storing data, and database objects such as indexes, views, and
stored procedures for viewing, managing, and securing data. You can use SQL Server Management Studio to
manage the database objects, and SQL Server Profiler to capture server events.
See Also
SQL Server Resource Center
Data Quality Services
1/18/2018 • 1 min to read • Edit Online
SQL Server Data Quality Services (DQS) is a knowledge-driven data quality product. DQS enables you to build a
knowledge base and use it to perform a variety of critical data quality tasks, including correction, enrichment,
standardization, and de-duplication of your data. DQS enables you to perform data cleansing by using cloud-based
reference data services provided by reference data providers. DQS also provides you with profiling that is
integrated into its data-quality tasks, enabling you to analyze the integrity of your data.
DQS consists of Data Quality Server and Data Quality Client, both of which are installed as part of SQL Server 2017.
Data Quality Server is a SQL Server instance feature that consists of three SQL Server catalogs with data-quality
functionality and storage. Data Quality Client is a SQL Server shared feature that business users, information
workers, and IT professionals can use to perform computer-assisted data quality analyses and manage their data
quality interactively. You can also perform data quality processes by using the DQS Cleansing component in
Integration Services and Master Data Services (MDS) data quality functionality, both of which are based on DQS.
For information about installing DQS, see Install Data Quality Services. If you want to upgrade your existing version
of DQS to SQL Server 2017, see Upgrade Data Quality Services.
Browse Content by Area
Data Cleansing
Data Matching
DQS Administration
DQS Security
See Also
Introduction to Data Quality Services
Data Quality Services Concepts
DQS Resources
SQL Server Resource Center
SQL Server Failover Cluster Installation
12/4/2017 • 3 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
To install a SQL Server failover cluster, you must create and configure a failover cluster instance by running SQL
Server Setup.
NOTE
Either installation option allows for multi-node SQL Server failover cluster installation. Add Node can be used to add
additional nodes for either option after a SQL Server failover cluster has been created.
IMPORTANT
The operating system drive letter for SQL Server install locations must match on all the nodes added to the SQL
Server failover cluster.
You can set OR dependencies when the nodes on the cluster are on different subnets. However, each node in the
SQL Server multi-subnet failover cluster must be a possible owner of at least one of IP address specified.
See Also
Before Installing Failover Clustering
Create a New SQL Server Failover Cluster (Setup)
Install SQL Server 2016 from the Command Prompt
Upgrade a SQL Server Failover Cluster Instance
Planning a SQL Server Installation
2/7/2018 • 2 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (Windows only) Azure SQL Database Azure SQL Data Warehouse
Parallel Data Warehouse
To install SQL Server, follow these steps:
Review installation requirements, system configuration checks, and security considerations for a SQL Server
installation.
Run SQL Server Setup to install or upgrade to a later version. Before upgrading, review Upgrade SQL Server.
Use SQL Server utilities to configure SQL Server.
Regardless of the installation method, you are required to confirm acceptance of the software license terms
as an individual or on behalf of an entity, unless your use of the software is governed by a separate
agreement such as a Microsoft volume licensing agreement or a third-party agreement with an ISV or OEM.
The license terms are displayed for review and acceptance in the Setup user interface. Unattended
installations (using the /Q or /QS parameters) must include the /IAcceptSQLServerLicenseTerms parameter.
Download and review the license terms separately at Microsoft SQL Server License Terms and Information.
For volume licensing terms, see Licensing Termss and Documentation. For older versions of SQL Server, see
Microsoft Software License Terms.
NOTE
Depending on how you received the software (for example, through Microsoft volume licensing), your use of the software
may be subject to additional terms and conditions.
In This Section
What's New in SQL Server Installation
This article describes the details about the new or improved features of installation in this version of SQL Server.
Hardware and Software Requirements for Installing SQL Server
This article lists the minimum hardware and software requirements to install and run an instance of SQL Server
2017.
Security Considerations for a SQL Server Installation
This article describes some security best practices that you should consider before you install SQL Server and after
you install SQL Server.
Configure Windows Service Accounts and Permissions
This article describes the default configuration of services in this release of SQL Server, and configuration options
for SQL Server services that you can set during and after SQL Server installation.
Network Protocols and Network Libraries
This article describes the default configuration of network protocols in this release of SQL Server, and the
configuration options available.
Work with Multiple Versions and Instances of SQL Server
This article describes the considerations for installing multiple versions and instances of SQL Server.
Local Language Versions in SQL Server
This article describes about the localized versions of SQL Server.
Related Sections
Install SQL Server
This section provides an overview of different installation options we have for installing SQL Server.
Install SQL Server Business Intelligence Features
This section of the SQL Server Setup documentation explains how to install SQL Server features that are part of the
Microsoft BI platform.
Upgrade SQL Server
The section provides an overview of upgrading instances of previous SQL Server versions to SQL Server 2017.
Uninstall SQL Server
Refer this section to uninstall an existing instance of SQL Server completely, and prepare the system so that you
can reinstall SQL Server.
SQL Server Failover Cluster Installation
This section of the SQL Server Setup documentation explains how to install, and configure SQL Server failover
cluster.
See Also
Install SQL Server from the Command Prompt
High Availability Solutions (SQL Server)
Before Installing Failover Clustering
Upgrade SQL Server Using the Installation Wizard (Setup)
SQL Server Integration Services
1/24/2018 • 1 min to read • Edit Online
For content related to previous versions of SQL Server, see SQL Server Integration Services.
Microsoft Integration Services is a platform for building enterprise-level data integration and data transformations
solutions. You use Integration Services to solve complex business problems by copying or downloading files,
sending e-mail messages in response to events, updating data warehouses, cleaning and mining data, and
managing SQL Server objects and data. The packages can work alone or in concert with other packages to address
complex business needs. Integration Services can extract and transform data from a wide variety of sources such as
XML data files, flat files, and relational data sources, and then load the data into one or more destinations.
Integration Services includes a rich set of built-in tasks and transformations; tools for constructing packages; and
the Integration Services service for running and managing packages. You can use the graphical Integration Services
tools to create solutions without writing a single line of code; or you can program the extensive Integration Services
object model to create packages programmatically and code custom tasks and other package objects.
Resources
Get help in the SSIS forum
Get help on Stack Overflow
Follow the SSIS team blog
Report issues & request features
Get the docs on your PC
Master Data Services Overview (MDS)
12/20/2017 • 6 min to read • Edit Online
This topic describes the key data organization and management features of Master Data Services.
Master Data Services enables you to manage a master set of your organization's data. You can organize the data
into models, create rules for updating the data, and control who updates the data. With Excel, you can share the
master data set with other people in your organization.
For a description of the Master Data Services architecture, see the Master Data Services -- The Basics article on
simple-talk.com. For information about the new features in SQL Server 2017, see What's New in Master Data
Services (MDS)
For instructions on how to install Master Data Services, set up the database and Website, and deploy
the sample models, see Master Data Services Installation and Configuration.
In Master Data Services, the model is the highest level container in the structure of your master data. You create a
model to manage groups of similar data, for example to manage online product data. A model contains one or
more entities, and entities contain members that are the data records. An entity is similar to a table.
For example, your online product model may contain entities such as product, color, and style. The color entity may
contain members for the colors red, silver, and black.
Models also contain attributes that are defined within entities. An attribute contains values that help describe the
entity members. There are free-form attributes and domain-based attributes. A domain-based attribute contains
values that are populated by members from an entity and can be used as attribute values for other entities.
For example, the product entity might have free-form attributes for cost and weight. And, there is a domain-based
attribute for color that contains values that are populated by the color entity members. This master list of colors
is used as attribute values for the Product entity .
Derived hierarchies come from the relationships between entities in a model. These are domain-based attribute
relationships. In the product model for example, you can have a color derived hierarchy that comes from the
relationship between the color and product entities.
Once you've defined a basic structure for your data, you can start adding data records (members) by using the
import feature. You load data into staging tables, validate the data using business rules, and load the data into MDS
tables. You can also use business rules to set attribute values.
The following table outlines the key Master Data Services tasks. Unless otherwise noted, all of the following
procedures require you to be a model administrator. For more information, see Administrators (Master Data
Services).
NOTE
You might want to complete the following tasks in a test environment and use the sample data provided when you install
Master Data Services. For more information, see Deploying Models (Master Data Services).
Create a model When you create a model, it is Models (Master Data Services)
considered VERSION_1.
Create a Model (Master Data Services)
Create entities Create as many entities as you need to Entities (Master Data Services)
contain your members.
Create an Entity (Master Data Services)
Create entities to use as domain-based To create a domain-based attribute, first Domain-Based Attributes (Master Data
attributes create the entity to populate the Services)
attribute value list.
Create a Domain-Based Attribute
(Master Data Services)
Create attributes for your entities Create attributes to describe members. Attributes (Master Data Services)
A Name and Code attribute are
automatically included in each entity Create a Text Attribute (Master Data
and cannot be removed. You might Services)
want to create other free-form
attributes to contain text, dates, Create a Numeric Attribute (Master
numbers, or files. Data Services)
Create attribute groups If you have more than four or five Attribute Groups (Master Data Services)
attributes for an entity, you might want
to create attribute groups. These Create an Attribute Group (Master Data
groups are the tabs that are displayed Services)
above the grid in Explorer and they
help ease navigation by grouping
attributes together on individual tabs.
Import members for your supporting Import the data for your supporting Overview: Importing Data from Tables
entities entities by using the staging process. (Master Data Services)
For the Product model, this might mean
importing colors or sizes. You can also Create a Leaf Member (Master Data
create members manually. Services)
Create and apply business rules to Create and publish business rules to Business Rules (Master Data Services)
ensure data quality ensure the accuracy of your data. You
can use business rules to: Create and Publish a Business Rule
(Master Data Services)
Set default attribute values.
Validate Specific Members against
Change attribute values. Business Rules (Master Data Services)
Import members for your primary Import the members for your primary Validation (Master Data Services)
entities and apply business rules entities by using the staging process.
When done, validate the version, which Validate a Version against Business
applies business rules to all members in Rules (Master Data Services)
the model version.
Validation Stored Procedure (Master
You can then work to correct any Data Services)
business rule validation issues.
Create derived hierarchies Derived hierarchies can be updated as Derived Hierarchies (Master Data
your business needs change and ensure Services)
that all members are accounted for at
the appropriate level. Create a Derived Hierarchy (Master
Data Services)
If needed, create explicit hierarchies If you want to create hierarchies that Explicit Hierarchies (Master Data
are not level-based and that include Services)
members from a single entity, you can
create explicit hierarchies. Create an Explicit Hierarchy (Master
Data Services)
If needed, create collections If you want to view different groupings Collections (Master Data Services)
of members for reporting or analysis
and do not need a complete hierarchy, Create a Collection (Master Data
create a collection. Services)
Lock a version of your model and assign Lock a version of your model to prevent Versions (Master Data Services)
a version flag changes to the members, except by
administrators. When the version's data Lock a Version (Master Data Services)
has validated successfully against
business rules, you can commit the Create a Version Flag (Master Data
version, which prevents changes to Services)
members by all users.
Create subscription views For your subscribing systems to Overview: Exporting Data (Master Data
consume your master data, create Services)
subscription views, which create
standard views in the Master Data Create a Subscription View to Export
Services database. Data (Master Data Services)
Configure user and group permissions You cannot copy user and group Security (Master Data Services)
permissions from a test to a production
environment. However, you can use Add a Group (Master Data Services)
your test environment to determine the
security you want to use eventually in Add a User (Master Data Services)
production.
When ready, you can deploy your model, with or without its data, to your production environment. For more
information, see Deploying Models (Master Data Services).
What is SQL Server Reporting Services (SSRS)?
1/9/2018 • 5 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Reporting Services (2016 and later) Power BI Report Server
For content related to previous versions of SQL Server Reporting Services, see SQL Server Reporting Services
2014.
Create, deploy, and manage mobile and paginated Reporting Services reports and Power BI reports on premises
with the range of ready-to-use tools and services that SQL Server Reporting Services (SSRS) and Power BI provide.
NOTE
Looking for Power BI Report Server? See Get started with Power BI Report Server.
Paginated reports
Reporting Services is associated with “traditional” paginated document-style reports, in which the more data you
have, the more rows in the tables, and the more pages the report would have. That’s great for generating fixed-
layout, pixel-perfect documents optimized for printing, such as PDF and Word files.
That core BI workload still exists today, so we’ve modernized it. Now you can create modern-looking reports with
updated new features, using Report Builder or Report Designer in SQL Server Data Tools (SSDT).
We updated all the default styles and color palettes, so by default you create reports with a new minimalist
modern style.
We updated the Parameter pane, so you can arrange parameters however you want.
You can export to new formats such as PowerPoint. Reporting Services visualizations in PowerPoint are live and
editable, not just screen shots.
You can create a hybrid Power BI/Reporting Services experience: Rather than recreating your on-premises
Reporting Services reports in Power BI, you can pin visuals from those reports to your Power BI dashboards.
Then you can monitor everything in one place on your Power BI dashboard.
Mobile reports
Mobile computing has shifted the devices we need to work, meaning people today have a different reporting need.
The fixed-layout report experience doesn’t work well when you introduce tablets and phones. Something designed
for a wide PC screen isn’t the optimal experience on a small phone screen that’s not just smaller but a portrait or
landscape orientation.
What you need with these widely different screen form factors is not a fixed layout, but a responsive layout that
adapts to these different devices and the different ways you hold them. For that we’ve added a new report type:
mobile reports, based on the Datazen technology we acquired about a year ago and integrated into the product.
You can migrate your existing Datazen reports to Reporting Services with the SQL Server Migration Assistant for
Datazen.
You create these mobile reports in the new Mobile Report Publisher app. Then in the native Power BI apps for
mobile devices for Windows 10, iOS, Android, and HTML5, you can access the data you have in Power BI the cloud,
plus your on-premises SQL Server 2016 Reporting Services data. As you create visualizations, Mobile Report
Publisher automatically generates sample data for each, so you see how the visualization will look with your data,
and what kind of data works well in each visualization.
Web portal
For end users of native-mode Reporting Services, the front door is a modern web portal you can view in any
modern browser. You can access all your Reporting Services mobile and paginated reports and KPIs in the new
portal, plus Power BI Desktop reports. Read more about Power BI reports in Reporting Services.
You can apply your own custom branding to your web portal. And you can create KPIs right in the web portal. KPIs
can surface key business metrics at a glance in the browser, without having to open a report.
The new web portal is a complete rewrite of Report Manager. Now it’s a single-page, standards-based HTML5 app,
which modern browsers are optimized for: Edge, Internet Explorer 10 and 11, Chrome, Firefox, Safari, and all the
major browsers.
The content on the web portal is organized by type: Reporting Services mobile and paginated reports and KPIs, plus
Power BI Desktop reports, Excel workbooks, shared datasets, and shared data sources to use as building blocks for
your reports. You can store and manage them securely here, in the traditional folder hierarchy. You can tag your
favorites, and you can manage the content if you have that role.
And you can still schedule report processing, access reports on demand,and subscribe to published reports in the
new web portal.
More about the Web portal (SSRS Native Mode).
Next steps
Install Reporting Services
Install Report Builder
Download SQL Server Data Tools (SSDT)
Power BI reports in Reporting Services
More questions? Try asking the Reporting Services forum
SQL Server Migration Assistant
12/20/2017 • 4 min to read • Edit Online
Microsoft SQL Server Migration Assistant (SSMA) is a tool designed to automate database migration to SQL Server
from Microsoft Access, DB2, MySQL, Oracle, and SAP ASE.
Migration Sources
SQL Server Migration Assistant for Access
SQL Server Migration Assistant for DB2
SQL Server Migration Assistant for MySQL
SQL Server Migration Assistant for Oracle
SQL Server Migration Assistant for SAP ASE
Downloads
SSMA for Access
SSMA for DB2
SSMA for MySql
SSMA for Oracle
SSMA for SAP ASE
The Data Migration Assistant (DMA) enables you to upgrade to a modern data platform by detecting compatibility
issues that can impact database functionality in your new version of SQL Server and Azure SQL Database. DMA
recommends performance and reliability improvements for your target environment and allows you to move your
schema, data, and uncontained objects from your source server to your target server.
NOTE
For large (in terms of number and size of databases) migrations, it is recommended to use the Azure Database Migration
Service, which can migrate databases at scale.
Capabilities
Assess on-premises SQL Server instance(s) migrating to Azure SQL database(s). The assessment workflow
helps you to detect the following issues that can affect Azure SQL database migration and provides detailed
guidance on how to resolve them.
Migration blocking issues: Discovers the compatibility issues that block migrating on-premises SQL
Server database(s)s to Azure SQL Database(s). DMA provides recommendations to help you address
those issues.
Partially supported or unsupported features: Detects partially supported or unsupported features that
are currently in use on the source SQL Server instance. DMA provides a comprehensive set of
recommendations, alternative approaches available in Azure, and mitigating steps so that you can
incorporate into your migration projects.
Discover issues that can affect an upgrade to an on-premises SQL Server. These are described as
compatibility issues and are organized in the following categories:
Breaking changes
Behavior changes
Deprecated features
Discover new features in the target SQL Server platform that the database can benefit from after an upgrade.
These are described as feature recommendations and are organized in the following categories:
Performance
Security
Storage
Migrate an on-premises SQL Server instance to a modern SQL Server instance, hosted on premises or on an
Azure virtual machine (VM) that is accessible from your on-premises network. The Azure VM can be
accessed using VPN or other technologies. The migration workflow helps you to migrate the following
components:
Schema of databases
Data and users
Server roles
SQL Server and Windows logins
After the successful migration, applications can connect to the target SQL server databases seamlessly.
Installation
To install DMA, download the latest version of the tool from the Microsoft Download Center, and then run the
DataMigrationAssistant.msi file.
See also
Assess your SQL Server Migration
Data Migration Assistant: Configuration settings
Migrate On-Premises SQL Server using Data Migration Assistant
Data Migration Assistant: Best Practices
Stretch Database
2/7/2018 • 4 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server (Windows only starting with 2016) Azure SQL Database Azure
SQL Data Warehouse Parallel Data Warehouse
Stretch Database migrates your cold data transparently and securely to the Microsoft Azure cloud.
If you just want to get started with Stretch Database right away, see Get started by running the Enable Database for
Stretch Wizard.
I have to keep transactional data for a long time. The size of my tables is getting out of control.
Sometimes I have to query the cold data. My users say that they want access to cold data, but they only
rarely use it.
I have apps, including older apps, that I don’t want to update. I have to keep buying and adding more storage.
I want to find a way to save money on storage. I can’t backup or restore such large tables within the SLA.
What kind of databases and tables are candidates for Stretch Database?
Stretch Database targets transactional databases with large amounts of cold data, typically stored in a small
number of tables. These tables may contain more than a billion rows.
If you use the temporal table feature of SQL Server, use Stretch Database to migrate all or part of the associated
history table to cost-effective storage in Azure. For more info, see Manage Retention of Historical Data in System-
Versioned Temporal Tables.
Use Stretch Database Advisor, a feature of SQL Server 2016 Upgrade Advisor, to identify databases and tables for
Stretch Database. For more info, see Identify databases and tables for Stretch Database by running Stretch
Database Advisor. To learn more about potential blocking issues, see Limitations for Stretch Database.
Next step
Identify databases and tables that are candidates for Stretch Database. Download SQL Server 2016 Upgrade
Advisor and run the Stretch Database Advisor to identify databases and tables that are candidates for Stretch
Database. Stretch Database Advisor also identifies blocking issues. For more info, see Identify databases and tables
for Stretch Database by running Stretch Database Advisor.
Tutorials for SQL Server
12/4/2017 • 1 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
SQL Server provides tutorials to help you learn new technologies and features. Tutorials for earlier versions can
usually be used with more recent versions. When tutorials address a newer feature, they will indicate the minimum
version to complete the tutorial.
If a tutorial uses one of the Adventure Works databases, you should download and use the most recent version
from CodePlex. For more information, see AdventureWorks Databases and Scripts for SQL Server 2016 CTP3.
Download a Power Pivot workbook and Power View reports to use with Power View tutorials, go to Power View
Samples for SQL Server 2012.
Check out the new Wide World Importers sample available on the sql-server-samples GitHub repository.
Current tutorials
TECHNOLOGY DESCRIPTION
Analysis Services Tutorials (SSAS) Learn how to develop and deploy Analysis Services tabular or
multidimensional models. Also learn how to use tools such as
PowerPivot to analyze the data in the models.
Database Engine Tutorials Learn how to connect to an instance of the database engine
and then build and run Transact-SQL statements.
Enterprise Information Management Tutorials Learn how to manage information in an enterprise using
Microsoft EIM technologies.
Integration Services Tutorials Learn how to create and deploy SSIS packages.
Replication Tutorials Learn how to set up and run replication topologies using SQL
Server Management Studio.
Reporting Services Tutorials (SSRS) Learn how to create basic reports and subscriptions.
SQL Server Machine Learning Tutorials Learn how to work with SQL Server data using R or Python.
Run R or Python scripts from Transact-SQL.
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft
SQL Server offline help and Help Viewer
12/19/2017 • 7 min to read • Edit Online
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure SQL Data Warehouse Parallel Data
Warehouse
You can use the Help Viewer in SQL Server Management Studio (SSMS) or Visual Studio (VS) to download and
install SQL Server help packages from online sources or disk and view them offline. This article describes tools that
install the Help Viewer, how to install offline help content, and how to view help for SQL Server 2014, SQL Server
2016, and SQL Server 2017.
NOTE
SQL Server 2016 and SQL Server 2017 help are combined, although some topics apply to individual versions where noted.
Most topics apply to both.
* To install the Help Viewer with Visual Studio 2017, on the Individual Components tab in the Visual Studio
Installer, select Help Viewer under Code Tools, and then click Install.
NOTE
SQL Server 2016 installs Help Viewer 1.1, which does not support SQL Server 2016 help.
Installing SQL Server 2017 does not install any Help Viewer.
Help Viewer v2.x can also support SQL Server 2014 help, if you install the content from disk.
NOTE
To install from disk (SQL Server 2014 help), choose Disk under Installation source, and specify the disk location.
The Local store path on the Manage Content tab shows where the content will be installed on the local
computer. If you want to change the location, click Move, enter a different folder path in the To field, and
then click OK. If the help installation fails after changing the Local store path, close and reopen the Help
Viewer, ensure the new location appears in the Local store path, and then try the installation again.
3. Click Add next to each content package (book) that you want to install. To install all SQL Server help
content, add all 13 books under SQL Server.
4. Click Update at lower right. The help table of contents on the left automatically updates with the added
books.
NOTE
Not all the top-node titles in the SQL Server table of contents exactly match the names of the corresponding downloadable
help books. The TOC titles map to the book names as follows:
Data Analysis Expressions (DAX) reference Data Analysis Expressions (DAX) reference
Data mining extensions (DMX) reference Data mining extensions (DMX) reference
Getting started with machine learning in SQL Server Microsoft Machine Learning Services
SQL Server Technical Documentation SQL Server Technical Documentation (SSIS, SSRS, DB engine,
setup)
Tools and utilities for Azure SQL Database SQL Server tools
CONTENTS PANE SQL SERVER BOOK
XQuery Language Reference (SQL Server) XQuery Language Reference (SQL Server)
NOTE
If the Help Viewer freezes (hangs) while adding content, change the Cache LastRefreshed="<mm/dd/yyyy> 00:00:00" line in
the %LOCALAPPDATA%\Microsoft\HelpViewer2.x\HlpViewer_SSMSx_en-US.settings or HlpViewer_VisualStudiox_en-
US.settings file to some date in the future. For more information about this issue, see Visual Studio Help Viewer freezes.
The Help Viewer opens to the Manage Content tab, with the installed help table of contents in the left pane. Click
topics in the table of contents to display them in the right pane.
TIP
If the contents pane is not visible, click Contents on the left margin. Click the pushpin icon to keep the contents pane open.
To view offline help content in VS with Help Viewer v2.x
To view the installed help in Visual Studio:
1. Point to Set Help Preference on the Help menu and choose Launch in Help Viewer.
2. Click View Help in the Help menu to display the content in the Help Viewer.
The help table of contents shows on the left, and the selected help topic on the right.
NOTE
For firewall and proxy restricted environments, save the download to a USB drive or other portable media that can be
carried into the environment.
3. Double-click the .exe to unpack the help content file, and save the file to a local or shared folder.
4. Open the Help Library Manager by launching SSMS or VS and clicking Manage Help Settings on the Help
menu.
5. Click Install content from disk, and browse to the folder where you unpacked the help content file.
IMPORTANT
To avoid installing local help content that has only a partial table of contents, you must use the Install content from
disk option in the Help Library Manager. If you used Install content from online and the Help Viewer is
displaying a partial table of contents, see this blog post for troubleshooting steps.
6. Click the HelpContentSetup.msha file, click Open, and then click Next.
7. Click Add next to the documentation you want to install, and then click Update.
3. Click I want to use online help, click OK, and then click Exit.
4. Open the Help Viewer to see the content by clicking View Help on the Help menu.
View F1 help
When you press F1 or click Help or the ? icon in a dialog box in SSMS or VS, a context-sensitive online help topic
appears in the browser or Help Viewer.
To view F1 help
1. Point to Set Help Preference on the Help menu, and choose either Launch in Browser or Launch in Help
Viewer.
2. Press F1, or click Help or ? in dialog boxes where they are available, to see context-sensitive online topics in the
chosen environment.
NOTE
F1 help only works when you are online. There are no offline sources for F1 help.
Next steps
Microsoft Help Viewer - Visual Studio
Get Help
UserVoice - Suggestion to improve SQL Server?
Stack Overflow (tag sql-server) - ask SQL development questions
Setup and Upgrade - MSDN Forum
SQL Server Data Tools - MSDN forum
Reddit - general discussion about SQL Server
Microsoft SQL Server License Terms and Information
Support options for business users
Contact Microsoft