SQL Server Ssms
SQL Server Ssms
SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from
SQL Server to SQL Database. SSMS provides tools to configure, monitor, and administer instances of SQL from
wherever you deploy it. SSMS provides tools to deploy, monitor, and upgrade the data-tier components, such as
databases and data warehouses used by your applications, and to build queries and scripts.
SSMS is part of a suite of developer tools Microsoft offers free of charge for your development needs.
Download SQL Server Management Studio (SSMS)
Download SQL Server 2016 Developer edition
Download Visual Studio 2015 Developer edition
Common tasks performed by using Management Studio, such Use SQL Server Management Studio
as customizing keyboard shortcuts and viewing property
pages.
Use Object Explorer to view and manage all of the objects in Object Explorer
one or more instances of SQL Server.
How to use Template Explorer to build and manage files of Template Explorer
boilerplate text that can be used to speed the development of
queries and scripts.
How to connect Management Studio to instances of the F1 Help for Server Connections (SQL Server Management
Database Engine and Analysis Services. Studio)
How to use the visual design tools included in Management Visual Database Tools
Studio.
How to use the Management Studio language editors to Code and Text Editors (SQL Server Management Studio)
interactively build and debug queries and scripts.
Next steps
Tutorial: SQL Server Management Studio
Tutorial: Writing Transact-SQL Statements
Download SQL Server Management Studio (SSMS)
4/26/2017 3 min to read Edit Online
SQL Server Management Studio (SSMS) is an integrated environment for accessing, configuring, managing,
administering, and developing all components of SQL Server. SSMS combines a broad group of graphical tools
with a number of rich script editors to provide developers and administrators of all skill levels access to SQL
Server. This release features improved compatibility with previous versions of SQL Server, a stand-alone web
installer, and toast notifications within SSMS when new releases become available.
NOTE
SSMS 17.X is the latest generation of SQL Server Management Studio and provides support for SQL Server 2017. SSMS is
free! It does not require a license to install and use.
NOTE
The SQL Server PowerShell module is now a separate install through the PowerShell Gallery. Please see the download
instructions for more information.
NOTE
SSMS 17.0 is based on the Visual Studio 2015 Isolated shell, which was released before Windows Server 2016. Microsoft
takes app compatibility very seriously and ensures that already-shipped applications continue to run on the latest Windows
releases. Because of this, we do not anticipate that SSMS with all latest updates applied) will encounter issues when running
on Windows Server 2016. Customers are advised to contact support, should they encounter any issues with SSMS on
Windows Server 2016. Support will then work with customers to determine if the issue is with SSMS or Visual Studio or with
Windows compatibility, and route the issue appropriately.
Available Languages
NOTE
Non-English localized releases of SSMS require the KB 2862966 security update package if installing on: Windows 8,
Windows 7, Windows Server 2012, and Windows Server 2008 R2.
Previous releases
Previous SQL Server Management Studio Releases
Feedback
SQL Client Tools Forum | Log an issue or suggestion at Microsoft Connect.
See Also
Tutorial: SQL Server Management Studio
SQL Server Management Studio documentation
Microsoft SQL Server
Additional updates and service packs
Download SQL Server Data Tools (SSDT)
SQL Server Management Studio - Changelog
(SSMS)
4/26/2017 27 min to read Edit Online
https://connect.microsoft.com/SQLServer/feedback/details/2103116/
SSMS December 2015 Preview
Version number: 13.0.900.73
Improvements to Showplan comparison to enable comparison of the current query execution
plan with one saved in a file.
Improved IntelliSense support for inline columnstore indexes in SSMS.
Bug fix in Extended Events session wizard to enable selection of templates when connected to an
Azure V12 server.
New tab-stops in the "Create Audit" and "New Login" dialogs under the Security folder to enable
easier keyboard navigation.
Bug fix to enable functionality to "Switch to results tab after query execution" if SSMS is set to
display results in grid format.
Linked customer bug requests:
https://connect.microsoft.com/SQLServer/feedback/details/1390296/switch-to-results-tab-after-query-
execution-grid-mode-in-ssms-2016
Bug fix to display un-truncated column headers if SSMS is set to display results in grid format.
Linked customer bug requests:
https://connect.microsoft.com/SQLServer/feedback/details/2004111/bugbash-column-headers-in-grid-
mode-truncated-with-courier-new-8
Bug fixes to allow proper installation of SSMS web installer.
Linked customer bug requests:
https://connect.microsoft.com/SQLServer/feedback/details/2003865/ssms-october-preview-incoherent-
error-message
https://connect.microsoft.com/SQLServer/feedback/details/2079557/unable-to-instal-sql-server-update-
13-0-800-111-over-13-0-700-242-error-code-2711
Welcome to our generally-available release of SQL Server Management Studio! This release of SQL Server
Management Studio (SSMS) is a stand-alone install outside of the SQL Server release. Our goal is to update this
frequently with new functionality, fixes, and support for the newest features in SQL Server and Azure SQL
Database.
To install the latest SQL Server Management Studio, see Download SQL Server Management Studio (SSMS).
The following are issues and limitations with this release of SQL Server Management Studio:
1. Restore Database Wizard generates an Incorrect Path Pattern for destination database file
location This is a known issue when SSMS is connected to a Linux server. Even though the path looks
incorrect/odd, it is handled correctly on the server side, i.e. there is no functional issue.
2. File Browser Issues
When working with a Windows-based SQL Server 2017 CTP 2.0 instance, the file browser UI in SSMS
may fail to open if the server has an empty floppy drive or a fixed disk protected by Bitlocker installed.
The file browser UI no longer supports versions of SQL Server 2017 prior to CTP 2.0.
3. Only a single Azure Active Directory account can log in for an SSMS instance using Active
Directory Universal Authentication.
This restriction is limited to Active Directory Universal Authentication - you can log in to different servers
using Active Directory Password Authentication, Active Directory Integrated Authentication or SQL Server
Authentication.
As a workaround, you can use another instance of SSMS to login as another Azure Active Directory account.
4. Data-Tier Application Framework (DacFx) commands and the Schema Designer in SSMS do not
support Active Directory Universal Authentication.
Commands that use DacFx (e.g. import and export), the schema designer in SSMS do not currently support
Active Directory Universal Authentication.
As a workaround, you can use the other forms of authentication provided in SSMS - Active Directory
Password Authentication, Active Directory Integrated Authentication or SQL Server Authentication.
5. SSMS can only connect to SQL Server 2016 Integrated Services (SSIS 2016) instances.
There is a known compatibility limitation with SQL Server Integration Services that prevents connecting to
previous versions.
As a workaround for this problem, you can connect to your SQL Server Integration Service instance by using
the SSMS release aligned with your SSIS instance.
6. SSMS won't save maintenance plans for SQL Server 2008 R2 and earlier SQL Server versions.
This is a known limitation that we hope to address in the future. In the meantime, you can use the SSMS
2014 release to save the maintenance plans.
7. Non-English SSMS installations may require the installation of an additional security package.
Non-English localized releases of SSMS require the KB 2862966 security update package if installing on:
Windows 8, Windows 7, Windows Server 2012, and Windows Server 2008 R2.
Feedback
SQL Client Tools Forum | Log an issue or suggestion at Microsoft Connect.
See Also
SQL Server Management Studio Tutorial
Download SQL Server Management Studio (SSMS)
Previous SQL Server Management Studio Releases
Previous SQL Server Management Studio Releases
4/26/2017 17 min to read Edit Online
The following previous releases of SQL Server Management Studio are available.
Changelog
16.5.3
The following issues were fixed this release:
Fixed an issue introduced in SSMS 16.5.2 which was causing the expansion of the 'Table' node when the
table had more than one sparse column.
Users can deploy SSIS packages containing OData Connection Manager which connect to a Microsoft
Dynamics AX/CRM Online resource to SSIS catalog. For more information, see OData Connection Manager.
Configuring Always Encrypted on an existing table fails with errors on unrelated objects. Connect ID
3103181
Configuring Always Encrypted for an existing database with multiple schemas doesn't work. Connect ID
3109591
The Always Encrypted, Encrypted Column wizard fails due to the database containing views that reference
system views. Connect ID 3111925
When encrypting using Always Encrypted, errors from refreshing modules after encryption are incorrectly
handled.
Open recent menu doesn't show recently saved files. Connect ID 3113288
SSMS is slow when right-clicking an index for a table (over a remote (Internet) connection). Connect ID
3114074
Fixed an issue with the SQL Designer scrollbar. Connect ID 3114856
Context menu for tables momentarily hangs
SSMS occasionally throws exceptions in Activity Monitor and crashes. Connect ID 697527
SSMS 2016 crashes with error "The process was terminated due to an internal error in the .NET Runtime at
IP 71AF8579 (71AE0000) with exit code 80131506"
Changelog
Fixed an issue where attempting to ALTER/Modify a Stored Procedure fails:
Microsoft Connect item #3103831
New 'Read-SqlTableData', 'Read-SqlViewData', and 'Write-SqlTableData' cmdlets to view and write data
using PowerShell.
Trello Read-SqlTableData Card
Microsoft Connect item #2685363
New 'Add-SqlLogin' cmdlet to enable new login management scenarios using PowerShell.
Microsoft Connect item #2588952
Improved support and usability for users connecting to various national clouds.
Fixed an issue where an Out Of Memory Exceptions were being thrown.
Microsoft Connect item #3062914
Microsoft Connect item #3074856
Fixed an issue where filtering by schema was not a valid filter option.
Microsoft Connect item #3058105
Microsoft Connect item #3101136
Fixed an issue where the Monitor window for a stretched database would not be accessible.
Fixed an issue where the F1 Help always opened online content. Users can now select whether they prefer
online or offline help via the "Set Help Preference" in the Help menu.
Microsoft Connect item #2826366
Fixed an issue where scripting out a 1200-level Analysis Services tabular model wouldnt strip out the
password for scripting, even though the server version had [client model object is now syncd before
scripting].
Fixed an issue where 'SELECT TOP N ROWS' option generated deprecated syntax for the the TOP operator.
Microsoft Connect item #3065435
Fixed various layout issues throughout SSMS, including the Login Properties page and Advanced Query
Execution Options.
Microsoft Connect item #3058199
Microsoft Connect item #3079122
Microsoft Connect item #3071384
Fixed an issue where a solution was created automatically whenever a user opened a new query window.
Microsoft Connect item #2924667
Microsoft Connect item #2917742
Microsoft Connect item #2612635
Fixed an issue where temporal tables could not be expanded in Object Explorer when in system databases.
Microsoft Connect item #2551649
Fixed an issue where SSMS runs a query to SELECT @@trancount after executing a batch.
Microsoft Connect item #3042364
Fixed an issue in Analysis Services where creating a script from an server's properties page resulted in a
hidden connection dialog.
Fixed an issue where Ctrl+Q would not select the Quick Launch toolbar.
Fixed an issue where changing the MaxSize of a database using the Server Properties dialog was broken for
databases > 2 TB.
Microsoft Connect item #1231091
Fixed an issue where the Restore Database wizard wouldn't accept filenames with leading whitespaces:
Microsoft Connect item #2395147
Fixed an issue where the Restore Database wizard wouldn't accept filenames with leading whitespaces:
Microsoft Connect item #2395147
Fixes
1. Bug fix to view cleartext of decrypted AlwaysEncrypted large object (LOB) columns in SSMS (Microsoft Connect
item #2413024).
2. Bug fix in Always Encrypted dialog to fix crash when Windows visual styles are not enabled (e.g. enabling high
contrast display).
3. Bug fix for 'Method not found' error preventing connection to SQL Server instances.
4. Bug fix for SSMS crash when creating a partition function with datetime offset.
5. Bug fix to remove Microsoft .NET 3.5 requirement for starting Distributed Replay administration tool
(DReplay.exe).
6. Bug fix in Analysis Services Deployment wizard to support fully-qualified server names.
7. Bug fix in SSMS to display partitions in Analysis Services tabular models with a 2016 compatibility model
(Microsoft Connect item #2845053).
More information on fixes available in the SSMS changelog.
The fix for this problem will be available in the next SSMS release. As a workaround for this issue, you can
uninstall and reinstall SSMS. For more details, visit this Microsoft Connect thread on the issue.
3. SSMS crashes when trying to select an Azure storage account. The SSMS July release and July hotfix
release crash if you try to select an Azure storage account and do not have a 'classic' storage account. The fix
for this issue will be available in an upcoming SSMS release. As a workaround for this problem, you can
backup/restore your databases to an Azure storage account by creating a classic storage account, or by using
T-SQL to backup or restore.
4. SSMS will only display 'classic' Azure storage accounts in the Backup/Restore wizards. The SSMS
July release and July hotfix release display only 'classic' Azure storage accounts for new credential creation if
you're trying to backup or restore using the backup or restore wizards. The fix for this issue will be available
in an upcoming SSMS release. As a workaround for this problem, you can backup/restore your databases to
the available Azure 'classic' storage account, or backup to the 'ARM-type' storage accounts using T-SQL to
backup or restore.
5. Non-English SSMS installations may require the installation of an additional security package.
Non-English localized releases of SSMS require the KB 2862966 security update package if installing on:
Windows 8, Windows 7, Windows Server 2012, and Windows Server 2008 R2.
6. SSMS can only connect to SQL Server 2016 Integrated Services (SSIS 2016) instances. There is a known
compatibility limitation with SQL Server Integration Services that prevents connecting to previous versions. As a
workaround for this problem, you can connect to your SQL Server Integration Service instance by using the
SSMS release aligned with your SSIS instance.
7. SSMS won't save maintenance plans for SQL Server 2008 R2 and earlier SQL Server versions. We are
working on a fix for this issue. In the meantime, you can use the SSMS 2014 release below to save the
maintenance plans.
8. SQL Server Configuration Manager will fail to launch if there is no SQL Server installed on the client
machine. If you do not have SQL Server installed on your client machine and launch SQL Server Configuration
Manager, you will receive the 'Cannot connect to WMI provider' error. As a workaround:
Open a command prompt as Administrator.
Run the Mofcomp tool using the following command:
mofcomp "%programfiles(x86)%\Microsoft SQL Server\130\Shared\sqlmgmproviderxpsp2up.mof"
After you run the Mofcomp tool, run the following commands to restart the WMI service for the changes
to take effect:
net stop "Windows Management Instrumentation"
net start "Windows Management Instrumentation"
Fixes
1. Bug fix in SSMS query designer to allow adding tables to the designer if a user doesn't have SELECT permissions
on them.
2. Bug fix to add IntelliSense support for 'TRY_CAST()', and 'TRY_CONVERT()' functions (Microsoft Connect item
#2453461).
3. Bug fix in the SSMS editor window to allow drag-and-drop open of Sql files (Microsoft Connect item #2690658).
4. Bug fix in Analysis Services to correctly show the Data Feed provider for multi-dimensional Analysis Services
models.
5. Bug fix in SSMS to prevent crash when trying to edit a join link in the SSMS table designer (Microsoft Connect
item #2721052).
More information and bug fixes available in the SSMS changelog.
Additional Downloads
For a list of all SQL Server Management Studio downloads, search the Microsoft Download Center.
For the latest release of SQL Server Management Studio, see Download SQL Server Management Studio (SSMS).
Related resources
Update center for Microsoft SQL Server
SQL Server Management Studio quick start
SQL Server Management Studio forum
Local Audit for SSMS Usage Feedback Collection
3/14/2017 1 min to read Edit Online
SQL Server Management Studio (SSMS) contains Internet-enabled features that can collect and send anonymous
feature usage data to Microsoft. SSMS may collect standard computer information and information about use and
performance that may be transmitted to Microsoft and analyzed for purposes of improving the quality, security,
and reliability of SSMS. We do not collect your name, address or other contact information. For details, see the SQL
Server Privacy Statement.
See also
Local Audit for SQL Server Usage Feedback Collection
Download SQL Server PowerShell Module
4/26/2017 1 min to read Edit Online
As part of the 17.0 release of SQL Server Management Studio, the SQL Server PowerShell module now ships via
the PowerShell Gallery. The module is no longer included in the SSMS install package. To use PowerShell with
SSMS 17.0 and newer, the SQL Server Module must be installed on the machine as an additional step.
Full documentation about installing the latest version of the Windows Management Framework and how to install
PowerShell modules in general can be found on the PowerShell Gallery site.
The PowerShell command to install the SQL Server module is:
If there are previous versions of SQL Server PowerShell modules on the machine, it may be necessary to provide
the "-AllowClobber" parameter.
The versions of the SQL Server PowerShell module shipped to the PowerShell Gallery support versioning and
require PowerShell version 5.0 or greater.
Introduction to SQL Server Management Studio for
Business Intelligence
3/14/2017 2 min to read Edit Online
To access, configure, manage, and administer Analysis Services, Integration Services, and Reporting Services, use
SQL Server Management Studio. Although all three business intelligence technologies rely on SQL Server
Management Studio, the administrative tasks associated with each of these technologies are slightly different.
NOTE
To create and modify Analysis Services, Reporting Services, and Integration Services solutions, use SQL Server Data Tools
(SSDT), not SQL Server Management Studio. SQL Server Data Tools (SSDT) is a development environment that is based on
MicrosoftVisual Studio.
See Also
Developing and Implementing Using SQL Server Data Tools
Reporting Services in SQL Server Data Tools
Customize Menus and Shortcut Keys
3/14/2017 4 min to read Edit Online
A keyboard accelerator allows you to select a menu command or button by pressing ALT+. For example, to open
the Edit menu, press ALT+E. You can rearrange and modify toolbar buttons, menus, and menu commands by using
the Customize dialog box. Instructions are provided for changing the settings using the mouse and using only the
keyboard.
Keyboard accelerators for stored procedures using the Ctrl key can be created from the Keyboard page of the
Tools/Options dialog box.
NOTE
Click Collapse All at the top of this page to show only the headings.
NOTE
Some commands are available only when SQL Server Management Studio is displaying relevant content. If no commands on
the menu are available, the menu item will not be available.
See Also
Features in SQL Server Management Studio
Use SQL Server Management Studio
3/14/2017 2 min to read Edit Online
SQL Server Management Studio (SSMS) is an integrated environment for accessing, configuring, managing,
administering, and developing all components of SQL Server and Azure SQL Database. SSMS combines a broad
group of graphical tools with a number of rich script editors to provide access to SQL Server to developers and
administrators of all skill levels.
SSMS combines the features of Enterprise Manager, Query Analyzer, and Analysis Manager, included in previous
releases of SQL Server, into a single environment. In addition, SSMS works with all components of SQL Server
such as Reporting Services and Integration Services. Developers get a familiar experience, and database
administrators get a single comprehensive utility that combines easy-to-use graphical tools with rich scripting
capabilities.
To get the latest version, see Download SQL Server Management Studio.
In This Section
Features in SQL Server Management Studio
Lists the rich feature set included in SQL Server Management Studio.
Tool Windows in SQL Server Management Studio
Describes the tools that are components of SQL Server Management Studio.
Understand SQL Server Management Studio Windows Management
Describes how to manage the windows displayed in SQL Server Management Studio.
Administer Servers with SQL Server Management Studio
Describes how to administer instances of SQL Server.
Connect to Any SQL Server Component from SQL Server Management Studio
Describes how to connect to instances of SQL Server and how to perform certain tasks without a connection.
Object Explorer
Describes the features of the Object Explorer.
User Assistance in SQL Server Management Studio
Describes how to configure user assistance, such as Help, in SQL Server Management Studio.
Writing, Analyzing, and Editing Scripts with SQL Server Management Studio
Describes how to use the rich editing environment in SQL Server Management Studio to edit Transact-SQL, MDX,
DMX and XML/A scripts.
Editing SQLCMD Scripts with Query Editor
Describes the capabilities and limitations of using Query Editor in SQLCMD mode.
Color Coding in Code Editors
Describes the meaning of the color coding in Code Editor windows.
SQL Server Management Studio Keyboard Shortcuts
Lists the keyboard shortcuts available in the SQL Server Management Studio.
Customize Menus and Shortcut Keys
Describes how to create custom menus and shortcuts.
Solutions (SQL Server Management Studio)
Describes how to develop script projects and solutions.
Template Explorer
Describes how to use the SQL Server Management Studio templates and how to create custom templates.
Property Pages in SQL Server Management Studio
Describes the new property window layout in SQL Server Management Studio.
Visual Database Tool Designers
Describes the Visual Database Tools that you can use to create queries, design or modify a database structure, or
update data.
See Also
How to: View server properties (SQL Server Management Studio)
SQL Server Management Studio Express
Features in SQL Server Management Studio
3/14/2017 2 min to read Edit Online
Extensibility
SQL Server Management Studio is built upon the Visual Studio Isolated Shell, which inherently supports
extensibility (add-ins/plug-ins). It is possible to tap into the Visual Studio extensibility services to surface custom
capabilities within SQL Server Management Studio; however, such extensibility is not supported.
There are some users and third parties that have developed extensions to SQL Server Management Studio. While
we do not discourage this, keep in mind that such extensibility is not supported, so there may be issues with
backward/forward compatibility. Microsoft does not publish documentation for extending SQL Server
Management Studio. There are, however, community blogs and sample code that you may be able to leverage.
Microsoft does not support SQL Server Management Studio installations with SQL Server Management Studio
extensions present, so if you have installed SQL Server Management Studio extensions, you may want to remove
them before calling Microsoft Customer Support about a SQL Server Management Studio issue.
See Also
Use SQL Server Management Studio
Tool Windows in SQL Server Management Studio
3/14/2017 1 min to read Edit Online
SQL Server Management Studio provides many powerful tool windows for all phases of development and
administration. Some tools can be used on any SQL Server component, and others are for certain components
only. The following table identifies the tools that can be used for all components of SQL Server.
Tool Purpose
Object Explorer Browse servers, create and locate objects, manage data
sources, and view logs. This tool is accessed from the View
menu.
Solution Explorer Store and organize scripts and related connection information
in projects called SQL Server Scripts. You can store several SQL
Server Scripts as Solutions and use source control to manage
scripts as they evolve over time. This tool is accessed from the
View menu.
Template Explorer Create queries based on existing templates. You can also
create your custom queries or alter the existing templates to
fit your scenarios. This tool is accessed from the View menu.
Dynamic Help Show a list of related Help topics as you click on a component
or type code.
The tools in SQL Server Management Studio work together. For example, you can:
Register a server with Object Explorer.
Open a SQL Editor window connected to a specific database from Object Explorer.
See Also
Use SQL Server Management Studio
Build Database Projects by Using SQL Server
Management Studio
3/14/2017 2 min to read Edit Online
A database script project is an organized set of scripts, connection information, and templates that are all associated
with a database or one part of a database. Microsoft SQL Server provides the SQL Server Management Studio for
administering and designing SQL Server databases within the context of a script project. SQL Server Management
Studio includes designers, editors, guides and wizards to assist users in developing, deploying and maintaining
databases.
See Also
Use SQL Server Management Studio
Writing, Analyzing, and Editing Queries with SQL Server Management Studio
Solutions (SQL Server Management Studio)
Understand SQL Server Management Studio
Windows Management
3/14/2017 2 min to read Edit Online
The tool windows in Microsoft SQL Server Management Studio are a highly functional, flexible, and efficient system
that allows you to:
Maximize the user workspace for development and management.
Reduce the number of unused windows displayed at one time.
Easily customize the user environment.
Manipulating windows is central to the Management Studio environment. Users can easily access the tools and
windows they use frequently. Users can control how much space they want to allocate to different information, and
the environment should maximize the space available for editing queries accordingly. Windows can be moved to
different locations on the screen. Many windows can be undocked and dragged out of the Management Studio
frame. This is particularly useful when using more than one monitor.
To increase your editing space while maintaining functionality, all windows offer the Auto Hide feature, which
displays the window as a tab within a bar along the border of the main Management Studio environment. When
the pointer is placed over one of these tabs, the underlying window reveals itself. Auto Hide for a window can be
toggled by clicking the Auto Hide button, represented by a pushpin in the upper-right corner of the window. There
is also an Auto Hide All option on the Window menu.
Some components can be configured in either tabbed mode where components appear as tabs in the same
docking location, or in multiple document interface (MDI) mode where each document has its own window. To
configure this feature, on the Tools menu, click Options, click Environment, and then click General.
IMPORTANT
When a login (or a contained database user) connects and is authenticated, the connection stores identity information about
the login. For a Windows Authentication login, this includes information about membership in Windows groups. The identity
of the login remains authenticated as long as the connection is maintained. To force changes in the identity, such as a
password reset or change in Windows group membership, the login must logoff from the authentication authority (Windows
or SQL Server), and log in again. A member of the sysadmin fixed server role or any login with the ALTER ANY
CONNECTION permission can use the KILL command to end a connection and force a login to reconnect. SQL Server
Management Studio can reuse connection information when opening multiple connections to Object Explorer and Query
Editor windows. Close all connections to force reconnection.
IMPORTANT
When a login (or a contained database user) connects and is authenticated, the connection caches identity information about
the login. For a Windows Authentication login, this includes information about membership in Windows groups. The identity
of the login remains authenticated as long as the connection is maintained. To force changes in the identity, such as a
password reset or change in Windows group membership, the login must logoff from the authentication authority (Windows
or SQL Server), and log in again. A member of the sysadmin fixed server role or any login with the ALTER ANY
CONNECTION permission can use the KILL command to end a connection and force a login to reconnect. SQL Server
Management Studio can reuse connection information when opening multiple connections to Object Explorer and Query
Editor windows. Close all connections to force reconnection.
See Also
Use SQL Server Management Studio
The SQL Server Management Studio Environment
External Tools Dialog Box
3/14/2017 2 min to read Edit Online
Use the External Tools dialog box to add external tools such as SQLCMD or Notepad to the Tools menu. Adding
external tools allows you to easily launch other applications while working in the Microsoft SQL Server
Management Studio environment. You can specify arguments and a working directory when launching the tool. In
addition, the output from some tools can be displayed in the Output window. The External Tools dialog box is
available on the Tools menu.
Options
Menu contents
Lists the titles of the items currently added to the Tools menu. Use the Move Up and Move Down arrows to
change the order the items that appear on the menu. Use the Delete button to remove an item from the menu.
Move Up
Move the selected tool higher in the list of tools that appear on the Tools menu.
Move Down
Move the selected tool lower in the list of tools that appear on the Tools menu.
Add
Clear the text boxes so you can specify a new tool.
Delete
Remove the tool or command from the Menu Contents list as well as from the Tools menu.
Title
Enter the name of the tool or command that will appear on the External Tools submenu of the Tools menu. Place
an ampersand (&) before a letter in the name of the tool to specify that letter as a keyboard shortcut. For example,
"&SQLCMD" would display SQLCMD on the Tools menu.
Command
Specify the path to the file to launch.
Arguments
Specify the variables that are passed to the tool when the tool is selected on the menu. Arguments can specify
values that are passed to the tool or command when it is launched. For example, a value can specify a file name or
directory. Use the arrow button to select from a list of predefined arguments. You can add more than one. For a
complete list of predefined arguments and their definitions, see Arguments for External Tools. You can also enter
custom arguments (for example, command line switches), depending on the command or tool you use.
Use Output window
Opens the Management Studio Output window to display output of the command being run. Not all tools present
output in a format that can be presented in the Output window. For more information, see Output Window.
Treat output as Unicode
Interprets the output as Unicode.
Initial directory
Specify the working directory of the tool. Use the arrow button to select directories. You can select more than one.
Prompt for arguments
Display the Arguments dialog box to allow you to enter or edit values for the arguments each time you launch the
external tool.
Close on exit
Close the window opened by the tool when the tool is closed.
Example
Entering the following values in the External Tools dialog box will create a menu item labeled "DAC" that when
selected, opens a command prompt and runs the sqlcmd utility using the dedicated administrator connection.
BOX VALUE
Title DAC
Arguments -A
See Also
Arguments for External Tools
General User Interface Elements
Arguments Dialog Box
3/14/2017 1 min to read Edit Online
The Arguments dialog box specifies new or existing arguments for a tool. This dialog box appears when you
launch an external tool that has the Prompt for arguments option selected in the External Tools dialog box.
Options
Arguments
Lists the current variables specified for the tool in the External Tools dialog box. For a complete list of predefined
arguments and their definitions, see Arguments for External Tools. You can also enter a custom argument.
Command line
Displays the value for the arguments specified in the Arguments dialog box.
See Also
Arguments for External Tools
External Tools Dialog Box
General User Interface Elements
Administer Servers with SQL Server Management
Studio
3/14/2017 1 min to read Edit Online
Microsoft SQL Server Management Studio is a rich, integrated administrative client designed to meet the SQL
Server and Azure SQL Database administrator's server management requirements. In Management Studio,
administrative tasks are accomplished using Object Explorer, which allows you to connect to any server in the SQL
Server family and graphically browse its contents. A server can be an instance of the Database Engine, Analysis
Services, Reporting Services, Integration Services or Azure SQL Database.
The tool components of Management Studio include Registered Servers, Object Explorer, Solution Explorer,
Template Explorer, the Object Explorer Details page, and the document window. To display a tool, on the View
menu, click the tool name. To display the Query Editor tool, click the New Query button on the toolbar.
IMPORTANT
Network traffic between Management Studio and SQL Server is unencrypted by default. Do not work with sensitive data
(including passwords) in Management Studio unless you have established an encrypted connection. For more information,
see How to: Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager).
See Also
Use SQL Server Management Studio
How to: View server properties (SQL Server Management Studio)
SQL Server Management Studio - License Terms
3/14/2017 7 min to read Edit Online
Available Languages:
Chinese (People's Republic of China) | Chinese (Taiwan) | English (United States) | French
German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its
affiliates) and you. Please read them. They apply to the software named above, which includes the media on which
you received it, if any. The terms also apply to any Microsoft
updates,
supplements,
Internet-based services, and
support services
for this software, unless other terms accompany those items. If so, those terms apply.
By using the software, you accept these terms. If you do not accept them, do not use the software.
As described below, using some features also operates as your consent to the transmission of certain
standard computer information for Internet-based services.
If you comply with these license terms, you have the perpetual rights below.
1. INSTALLATION AND USE RIGHTS.
a. Installation and Use. You may install and use one copy of the software on your device.
b. Third Party Programs. The software may include third party programs that Microsoft, not the third party,
licenses to you under this agreement. Notices, if any, for the third party program are included for your information
only.
2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
a. Distributable Code. The software contains code that you are permitted to distribute in programs you develop
if you comply with the terms below.
i. Right to Use and Distribute. The code and text files listed below are Distributable Code.
Sample Code. You may modify, copy, and distribute the source and object code form of code marked as
sample.
Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable
Code as part of those programs.
ii. Distribution Requirements. For any Distributable Code you distribute, you must
add significant primary functionality to it in your programs;
for any Distributable Code having a filename extension of .lib, distribute only the results of running such
Distributable Code through a linker with your program;
distribute Distributable Code included in a setup program only as part of that setup program without
modification;
require distributors and external end users to agree to terms that protect it at least as much as this agreement;
display your valid copyright notice on your programs; and
indemnify, defend, and hold harmless Microsoft from any claims, including attorneys fees, related to the
distribution or use of your programs.
iii. Distribution Restrictions. You may not
alter any copyright, trademark or patent notice in the Distributable Code;
use Microsofts trademarks in your programs names or in a way that suggests your programs come from or
are endorsed by Microsoft;
distribute Distributable Code to run on a platform other than the Windows platform;
include Distributable Code in malicious, deceptive or unlawful programs; or
modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an
Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution,
that
the code be disclosed or distributed in source code form; or
others have the right to modify it.
3. INTERNET-BASED SERVICES. Microsoft provides Internet-based services with the software. It may change or
cancel them at any time.
a. Consent for Internet-Based Services. The software feature described below and in the SQL Server Privacy
Statement connects to Microsoft or service provider computer systems over the Internet. In some cases, you will
not receive a separate notice when they connect. You may switch off this feature or not use it. For more information
about this feature, see http://go.microsoft.com/fwlink/?LinkID=398120. By using this feature, you consent to
the transmission of this information. Microsoft does not use the information to identify or contact you.
i. Computer Information. The following feature uses Internet protocols, which send to the appropriate systems
computer information, such as your Internet protocol address, the type of operating system, browser and name and
version of the software you are using, and the language code of the device where you installed the software.
Microsoft uses this information to make the Internet-based service available to you.
Web Content Features. Features in the software can retrieve related content from Microsoft and provide it to
you. To provide the content, these features send to Microsoft the type of operating system, name and version of
the software you are using, type of browser and language code of the device where you installed the software.
Examples of these features are clip art, templates, online training, online assistance, help and Appshelp. You may
choose not to use these web content features.
ii. Use of Information. We may use the computer information, to improve our software and services. We may
also share it with others, such as hardware and software vendors. They may use the information to improve how
their products run with Microsoft software.
4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the
software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you
may use the software only as expressly permitted in this agreement. In doing so, you must comply with any
technical limitations in the software that only allow you to use it in certain ways. You may not
work around any technical limitations in the software;
reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law
expressly permits, despite this limitation;
make more copies of the software than specified in this agreement or allowed by applicable law, despite this
limitation;
publish the software for others to copy;
rent, lease or lend the software;
transfer the software or this agreement to any third party; or
use the software for commercial software hosting services.
5. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
6. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use
the documentation for your internal, reference purposes.
7. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply
with all domestic and international export laws and regulations that apply to the software. These laws include
restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
8. SUPPORT SERVICES. Because this software is as is, we may not provide support services for it.
9. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and
support services that you use, are the entire agreement for the software and support services.
10. APPLICABLE LAW.
a. United States. If you acquired the software in the United States, Washington state law governs the
interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The
laws of the state where you live govern all other claims, including claims under state consumer protection laws,
unfair competition laws, and in tort.
b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
11. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your
country. You may also have rights with respect to the party from whom you acquired the software. This agreement
does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
12. DISCLAIMER OF WARRANTY. The software is licensed as-is. You bear the risk of using it. Microsoft
gives no express warranties, guarantees or conditions. You may have additional consumer rights or
statutory guarantees under your local laws which this agreement cannot change. To the extent
permitted under your local laws, Microsoft excludes the implied warranties of merchantability, fitness
for a particular purpose and non-infringement.
FOR AUSTRALIA You have statutory guarantees under the Australian Consumer Law and nothing in
these terms is intended to affect those rights.
13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. You can recover from Microsoft and
its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including
consequential, lost profits, special, indirect or incidental damages.
This limitation applies to
anything related to the software, services, content (including code) on third party Internet sites, or third party
programs; and
claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort
to the extent permitted by applicable law.
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above
limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of
incidental, consequential or other damages.
Previous SQL Server Management Studio Releases
4/26/2017 17 min to read Edit Online
The following previous releases of SQL Server Management Studio are available.
Changelog
16.5.3
The following issues were fixed this release:
Fixed an issue introduced in SSMS 16.5.2 which was causing the expansion of the 'Table' node when the
table had more than one sparse column.
Users can deploy SSIS packages containing OData Connection Manager which connect to a Microsoft
Dynamics AX/CRM Online resource to SSIS catalog. For more information, see OData Connection
Manager.
Configuring Always Encrypted on an existing table fails with errors on unrelated objects. Connect ID
3103181
Configuring Always Encrypted for an existing database with multiple schemas doesn't work. Connect ID
3109591
The Always Encrypted, Encrypted Column wizard fails due to the database containing views that reference
system views. Connect ID 3111925
When encrypting using Always Encrypted, errors from refreshing modules after encryption are incorrectly
handled.
Open recent menu doesn't show recently saved files. Connect ID 3113288
SSMS is slow when right-clicking an index for a table (over a remote (Internet) connection). Connect ID
3114074
Fixed an issue with the SQL Designer scrollbar. Connect ID 3114856
Context menu for tables momentarily hangs
SSMS occasionally throws exceptions in Activity Monitor and crashes. Connect ID 697527
SSMS 2016 crashes with error "The process was terminated due to an internal error in the .NET Runtime
at IP 71AF8579 (71AE0000) with exit code 80131506"
Changelog
Fixed an issue where attempting to ALTER/Modify a Stored Procedure fails:
Microsoft Connect item #3103831
New 'Read-SqlTableData', 'Read-SqlViewData', and 'Write-SqlTableData' cmdlets to view and write data
using PowerShell.
Trello Read-SqlTableData Card
Microsoft Connect item #2685363
New 'Add-SqlLogin' cmdlet to enable new login management scenarios using PowerShell.
Microsoft Connect item #2588952
Improved support and usability for users connecting to various national clouds.
Fixed an issue where an Out Of Memory Exceptions were being thrown.
Microsoft Connect item #3062914
Microsoft Connect item #3074856
Fixed an issue where filtering by schema was not a valid filter option.
Microsoft Connect item #3058105
Microsoft Connect item #3101136
Fixed an issue where the Monitor window for a stretched database would not be accessible.
Fixed an issue where the F1 Help always opened online content. Users can now select whether they prefer
online or offline help via the "Set Help Preference" in the Help menu.
Microsoft Connect item #2826366
Fixed an issue where scripting out a 1200-level Analysis Services tabular model wouldnt strip out the
password for scripting, even though the server version had [client model object is now syncd before
scripting].
Fixed an issue where 'SELECT TOP N ROWS' option generated deprecated syntax for the the TOP
operator.
Microsoft Connect item #3065435
Fixed various layout issues throughout SSMS, including the Login Properties page and Advanced Query
Execution Options.
Microsoft Connect item #3058199
Microsoft Connect item #3079122
Microsoft Connect item #3071384
Fixed an issue where a solution was created automatically whenever a user opened a new query window.
Microsoft Connect item #2924667
Microsoft Connect item #2917742
Microsoft Connect item #2612635
Fixed an issue where temporal tables could not be expanded in Object Explorer when in system
databases.
Microsoft Connect item #2551649
Fixed an issue where SSMS runs a query to SELECT @@trancount after executing a batch.
Microsoft Connect item #3042364
Fixed an issue in Analysis Services where creating a script from an server's properties page resulted in a
hidden connection dialog.
Fixed an issue where Ctrl+Q would not select the Quick Launch toolbar.
Fixed an issue where changing the MaxSize of a database using the Server Properties dialog was broken
for databases > 2 TB.
Microsoft Connect item #1231091
Fixed an issue where the Restore Database wizard wouldn't accept filenames with leading whitespaces:
Microsoft Connect item #2395147
Fixed an issue where the Restore Database wizard wouldn't accept filenames with leading whitespaces:
Microsoft Connect item #2395147
Fixes
1. Bug fix to view cleartext of decrypted AlwaysEncrypted large object (LOB) columns in SSMS (Microsoft
Connect item #2413024).
2. Bug fix in Always Encrypted dialog to fix crash when Windows visual styles are not enabled (e.g. enabling
high contrast display).
3. Bug fix for 'Method not found' error preventing connection to SQL Server instances.
4. Bug fix for SSMS crash when creating a partition function with datetime offset.
5. Bug fix to remove Microsoft .NET 3.5 requirement for starting Distributed Replay administration tool
(DReplay.exe).
6. Bug fix in Analysis Services Deployment wizard to support fully-qualified server names.
7. Bug fix in SSMS to display partitions in Analysis Services tabular models with a 2016 compatibility model
(Microsoft Connect item #2845053).
More information on fixes available in the SSMS changelog.
Additional Downloads
For a list of all SQL Server Management Studio downloads, search the Microsoft Download Center.
For the latest release of SQL Server Management Studio, see Download SQL Server Management Studio
(SSMS).
Related resources
Update center for Microsoft SQL Server
SQL Server Management Studio quick start
SQL Server Management Studio forum
Configure WMI to Show Server Status in SQL Server
Tools
3/14/2017 1 min to read Edit Online
This topic describes how to configure WMI to show the server status in SQL Server tools in SQL Server 2016. When
connecting to servers, both the Registered Servers and Object Explorer components of SQL Server Management
Studio, as well as SQL Server Configuration Manager, use Windows Management Instrumentation (WMI) to obtain
the status of the SQL Server (MSSQLSERVER) and SQL Server Agent (MSSQLSERVER) services. To display the
status of the service, the user must have rights to remotely access the WMI object. The server must have WMI
installed to configure this permission.
See Also
Start, Stop, or Pause the SQL Server Agent Service
The SQL Server Management Studio Environment
3/14/2017 1 min to read Edit Online
SQL Server Management Studio provides a rich environment for managing and developing queries in SQL Server.
In This Section
General User Interface Elements
Outline general features of the user interface, such as Solution Explorer, Object Explorer, the Properties window,
and the integrated Web browser.
Solution Explorer
Introduces Solution Explorer, which provides you with an organized view of your projects and their files as well as
ready access to commands for managing them.
Solution Explorer Source Control
Describes how SQL Server Management Studio integrates with source control products.
Property Pages in SQL Server Management Studio
3/14/2017 1 min to read Edit Online
Property page dialog boxes in Microsoft SQL Server Management Studio all use a common format displaying
information with expanding and collapsing categories. The fields shown depend on the particular property.
Properties shown in gray are read-only. Categorized and Alphabetic buttons are near the top of each property
page.
The following table describes the common elements of Management Studio property page dialog boxes.
ELEMENT DESCRIPTION
Categorized Lists all properties and property values for the selected object,
sorted by category. In category view, you can collapse a
category to reduce the number of visible properties. When
you expand or collapse a category, you see a plus sign (+) or
minus sign (-) to the left of the category name. Categories are
listed alphabetically.
Alphabetic Lists all properties and property values for the selected object,
sorted alphabetically.
Property name The first column in the grid lists the property names.
Properties The second column in the grid lists the property values.
Description pane The description pane appears at the bottom of the page and
shows the property type and a short description of the
property. You can turn the description of the property off and
on using the Description command on the shortcut menu.
Properties Window (Management Studio)
3/14/2017 1 min to read Edit Online
Use this window to view properties of selected elements. You can also use the Properties window to view file,
project, and solution properties. The Properties window is available by clicking Properties Window on the View
menu.
The Properties window displays different types of editing fields, depending on the needs of a particular property.
Properties shown in gray are read-only.
Options
ELEMENT DESCRIPTION
Object name Lists the currently selected object or objects. Only objects from
the active editor or designer are visible.
Categorized Lists all properties and property values for the selected object,
by category. You can collapse a category to reduce the
number of visible properties. When you expand or collapse a
category, you see a plus (+) or minus (-) to the left of the
category name. Categories are listed alphabetically.
Description pane The description pane appears at the bottom of the Properties
window and shows the property type and a short description
of the property. You can turn the description of the property
off and on using the Description command on the shortcut
menu.
See Also
General User Interface Elements
About Dialog Box
3/14/2017 1 min to read Edit Online
The About dialog box provides product information and allows you to access information about the machine the
product is running on. For evaluation copies, the Microsoft SQL Server Management Studio entry lists the number
of days remaining until the installation expires. This dialog box is available on the Help menu.
Options
Component Name
Lists the name of each SQL Server item installed.
Version
Lists the version of each installed component.
Copy Info
Copies the component names and versions to the Microsoft Windows clipboard.
See Also
General User Interface Elements
SQL Server Management Studio Web Browser
3/14/2017 1 min to read Edit Online
SQL Server Management Studio hosts a version of Microsoft Internet Explorer. This Web browser allows you to
browse URLs, and view MSDN Library help topics without leaving SQL Server Management Studio. You can access
the Web browser by pointing to Web Browser on the View menu, and then clicking Show Browser.
See Also
General User Interface Elements
General User Interface Elements
3/14/2017 1 min to read Edit Online
The Editor, the Properties window, and the Toolbox are some of the basic elements of Microsoft SQL Server
Management Studio.
In This Section
About Dialog Box
Describes the dialog box that provides information about SQL Server Management Studio and about the
computer that it is running on.
SQL Server Management Studio Web Browser
Describes how SQL Server Management Studio hosts a Web browser in a document window.
External Tools Dialog Box
Allows you to add tools to the Tools menu that are not part of SQL Server Management Studio.
Properties Window (Management Studio)
Allows you to view properties and events of selected objects that are located in editors and designers. Also allows
you to edit and view the properties of files, projects, and solutions. Some properties can be edited in the
Properties window.
Use the Toolbox
Explains how to manipulate and use the Toolbox to add controls to your project's designers. For example, you
use the Toolbox to add steps to a Maintenance task.
User Assistance in SQL Server Management Studio
3/14/2017 3 min to read Edit Online
User assistance is available in SQL Server Management Studio through the Help menu and SQL Server Books
Online. The Help menu in Management Studio offers several different routes to information about SQL Server. It
also provides access to SQL Server community and MSDN Online resources not previously available from within
the Help environment. In addition, the Help environment is now configurable to launch either within the SQL
Server Management Studio environment or in an associated external window of its own.
Before you can search MSDN Online or the SQL Server communities, you must enable online search.
To enable online search
1. On the Tools menu, click Options. In the Options dialog box, expand the Environment and Help nodes if
necessary, and then click Online.
2. In the When loading Help content area, select an online option.
3. In the Search these providers list, select the search providers you want to search, and clear those you
don't.
4. If Codezone Community is one of your selected search providers, then in the Codezone Community list,
select and clear items as appropriate.
5. Click OK.
To search MSDN Online and SQL Server-focused communities from the Search page
1. On the Help menu, click Search.
2. Enter your search terms in the Search for text box, and then click Search.
Whether or not you perform a search using the filters available (technology, language, and topic type), your search
will now be run against all the search providers you selected.
Launching Help
There are two ways to display Help from SQL Server Management Studio. By default, when SQL Server Books
Online is opened from within Management Studio, it opens in a document window external to the Management
Studio environment. This window is still associated with the Management Studio; it can respond to some
Management Studio events; and when you close Management Studio, Books Online will close as well. Opening
Books Online this way is particularly useful when you are using two monitors; you can drag the Books Online
window to the second monitor, out of the way of work you are doing in the first one, but still easily referenced.
You can also open Books Online as a document window inside Management Studio. This is preferable when you
have limited screen space and want to take advantage of Management Studio and its ability to hide windows.
NOTE
If you want Books Online to be completely independent of Management Studio, open SQL Server Books Online from the
Start menu, and it will not react to your actions in the Management Studio environment, nor will it close if you exit
Management Studio.
To configure Help and SQL Server Books Online to launch inside the Management Studio window
1. On the Tools menu, click Options, expand Environment, expand Help, and then click General.
2. In the Show Help Using box, click Integrated Help Viewer.
Arguments for External Tools
3/14/2017 1 min to read Edit Online
Arguments are variables that the Studio environment supplies values for when an external tool is launched from
the Tools menu. External tools such as Notepad can be added to the Tools menu using the External Tools dialog
box.
The following table lists arguments for external tools.
Item File Name $(ItemFilename) The file name of the current source
(defined as file name); blank if a non-
source window is active.
Current Text* $(CurText) The current text (the word under the
current cursor position, or a single-line
selection, if there is one).
Project File Name $(ProjFileName) The file name of the current project
(defined as drive + path + file name).
NAME ARGUMENT DESCRIPTION
Solution File Name $(SolutionFileName) The file name of the current solution
(defined as drive + path + file name).
*The current line, current column, or current text is based on the position of the cursor in the text editor as shown
in the status bar.
See Also
External Tools Dialog Box
General User Interface Elements
Add an External Tool to the Tools Menu (SQL Server
Management Studio)
3/14/2017 1 min to read Edit Online
You can launch any Microsoft Windows or Microsoft .NET Framework application from SQL Server Management
Studio. External applications can be added to, and run from, the Tools menu.
To add an external tool to the Tools menu
1. On the Tools menu, click External Tools.
2. In the Title text box, type the name you want to appear in the Menu contents list.
3. In the Command text box, type the program name. Include the path to the executable file if necessary.
4. In the Arguments text box, type the program arguments if necessary.
5. In the Initial directory text box, type the program's initial directory if necessary.
6. To add the tool to the Menu contents list, click Add; and then click OK.
Configure Login Auditing (SQL Server Management
Studio)
3/14/2017 1 min to read Edit Online
This topic describes how to configure login auditing in SQL Server 2016 to monitor SQL Server Database Engine
login activity. Login auditing can be configured to write to the error log on the following events.
Failed logins
Successful logins
Both failed and successful logins
You must restart SQL Server before this option will take effect.
You can select and drag items, text, and controls from the Toolbox onto forms, pages, and designers, and drag
items from these sources back into the Toolbox for reuse later. For example, in SQL Server Management Studio
you can drag a task onto a Maintenance Plan.
Items in the Toolbox are grouped into sections called tabs. Here is a reference list of common Toolbox tasks and
how to do them:
TO DO THIS
Make the Toolbox close automatically Open the Toolbox. On the Window menu, select Auto Hide.
Make the Toolbox stay open Open the Toolbox. On the Window menu, clear Auto Hide.
Move the Toolbox to a different location Open the Toolbox. On the Window menu, clear Auto Hide,
and then select Floating. Drag the Toolbox to the desired
location.
Hide the Toolbox In the Window menu, select Hide. (To reopen the Toolbox,
click Toolbox on the View menu.)
Expand Toolbox tabs one after another Press CTRL+DOWN ARROW to expand the next Toolbox tab,
or CTRL+UP ARROW to expand the previous tab.
Create a new Toolbox tab Right-click anywhere in the Toolbox, and then click Add Tab.
Type the name for the new tab, and then press Enter.
Insert a Toolbox item at the selected location on the designer Drag an item from the Toolbox to the designer or double-click
the desired item on the expanded Toolbox tab.
Change the position of a tab in the Toolbox Drag the Toolbox tab to the new location preferred, and
release the mouse.
Change the position of an item on an expanded Toolbox tab Drag the item to the new location, and release the mouse.
Rename a Toolbox item Right-click the Toolbox item, and click Rename Item on the
shortcut menu.
See Also
General User Interface Elements