Sdílet prostřednictvím


View a Database Snapshot (SQL Server)

This topic explains how to view a SQL Server database snapshot using SQL Server Management Studio.

Note

To create, revert to, or delete a database snapshot, you must use Transact-SQL.

In This Topic

  • To view a database snapshot, using:

    SQL Server Management Studio

    Transact-SQL

Using SQL Server Management Studio

To view a database snapshot

  1. In Object Explorer, connect to the instance of the SQL Server Database Engine and then expand that instance.

  2. Expand Databases.

  3. Expand Database Snapshots, and select the snapshot you want to view.

Using Transact-SQL

To view a database snapshot

  1. Connect to the Database Engine.

  2. From the Standard bar, click New Query.

  3. To list the database snapshots of the instance of SQL Server, query the source_database_id column of the sys.databases catalog view for non-NULL values.

See Also

Concepts

Database Snapshots (SQL Server)