SQL Server Management Studio components and configuration
SQL Server Management Studio components and configuration
- Identify the components that make up the SSMS environment
- Change the environment layout, and reset it to the default
- Maximize the query editor
- Change the font
- Configure startup options
- Reset the configuration to the default
Prerequisites
To complete this tutorial, you need SQL Server Management Studio.
- Install SQL Server Management Studio.
SQL Server Management Studio components
This section describes the various window components that are available in the workspace, and how to use them.
- To close a window, select the X in the right corner of the title bar.
- To reopen a window, select the window in the View menu.
9107
Object Explorer (F8): Object Explorer is a tree view of all the database objects in a server. This view includes the databases of the SQL Server Database Engine, SQL Server Analysis Services, SQL Server Reporting Services, and SQL Server Integration Services. Object Explorer includes information for all servers that are connected to it.
9108
Query Window (Ctrl+N): After you select New Query, enter your Transact-SQL (T-SQL) queries in this window. The results of your queries also appear here. 9109
Properties (F4): You can see the Properties view when the Query Window is open. The view displays basic properties of the query. For example, it shows the time that a query started, the number of rows returned, and connection details.
9110
Template Browser (Ctrl+Alt+T): Template Browser has various pre-built T-SQL templates. You can use these templates to perform various functions, such as creating or backing up a database.
9111
Object Explorer Details (F7): This view is more granular than the view in Object Explorer. You can use Object Explorer Details to manipulate multiple objects at the same time. For example, in this window, you can select multiple databases, and then either delete them or script them out simultaneously.
9112
Change the environment layout
This section describes how to change the environment layout, such as how to move various windows.
- To move a window, press and hold the title, and then drag the window.
- To pin or unpin a window, select the pushpin icon in the title bar:
9113
Each window component has a drop-down menu that you can use to manipulate the window in various ways:
9114
When two or more query windows are open, the windows can be tabbed vertically or horizontally so that both query windows are visible. To view tabbed windows, right-click the title of the query, and then select the tabbed option that you want:
9115
Here's a Horizontal Tab Group:
9116
Here's a Vertical Tab Group:
9118
To merge the tabs, right-click the query title, and then select Move to Previous Tab Group or Move to Next Tab Group:
9119
To restore the default environment layout, in the Window menu, select Reset Window Layout:
9120
Maximize Query Editor
You can maximize Query Editor to full-screen mode:
- Click anywhere in the Query Editor window.
- Press Shift+Alt+Enter to toggle between full-screen mode and regular mode.
This keyboard shortcut works with any document window.
Change basic settings
This section describes how to modify some basic settings in SSMS from the Tools menu.
9121
To modify the highlighted toolbar, select Tools > Customize: 9122
Change the font
- To change the font, select Tools > Options > Fonts and Colors:
9123
Change startup options
- Startup options determine what your workspace looks like when you first open SSMS. To change startup options, select Tools > Options > Startup:
9124
Reset settings to the default
- You can export and import all these settings from the menu. To import or export settings, or to restore default settings, select Tools > Import and Export Settings
9125