SQL Server Management Studio (SSMS) Documentation

Object Explorer Overview

The Object Explorer provides a hierarchical view of the database objects on a Microsoft SQL Server instance. It allows you to navigate, manage, and script objects such as databases, tables, stored procedures, security principals, and more.

Key Features

Accessing Object Explorer

Open Object Explorer from the View menu or press F8. The pane can be docked, floated, or hidden according to your workflow.

# Open Object Explorer via PowerShell (SSMS Automation)
Import-Module SqlServer
$ssms = New-Object -ComObject "Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer"
$ssms.Show()

Example: Creating a New Table

  1. Expand the server node → expand Databases → select the target database.
  2. Right‑click Tables → choose New > Table….
  3. Define columns, data types, and constraints in the designer.
  4. Save the table (Ctrl+S) and optionally generate a CREATE script.

Scripting Objects

Select an object, right‑click, and choose Script As → CREATE To → New Query Editor Window. This generates T‑SQL for the selected object.

Keyboard Shortcuts

ActionShortcut
Refresh nodeF5
Open new query windowCtrl+N
Toggle pane visibilityCtrl+Alt+T
Search within Object ExplorerCtrl+F

Customization

Adjust the Object Explorer settings via Tools → Options → Environment → Object Explorer. Options include default script language, object filtering behaviour, and visual themes.

Troubleshooting