Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.82 KB

restorefilegroup-transact-sql.md

File metadata and controls

38 lines (32 loc) · 1.82 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
restorefilegroup (Transact-SQL)
restorefilegroup (Transact-SQL)
VanMSFT
vanto
03/03/2017
sql
system-objects
reference
restorefilegroup_TSQL
restorefilegroup
filegroups [SQL Server], restorefilegroup system table
restorefilegroup system table
TSQL

restorefilegroup (Transact-SQL)

[!INCLUDE SQL Server]

Contains one row for each restored filegroup. This table is stored in the msdb database.

Column name Data type Description
restore_history_id int Unique identification number that identifies the corresponding restore operation. References restorehistory(restore_history_id).
filegroup_name nvarchar(128) Name of the filegroup being restored. Can be NULL.

When a database is reverted to a database snapshot, this value is populated in the same way as for a full restore.

Remarks

To reduce the number of rows in this table and in other backup and history tables, execute the sp_delete_backuphistory stored procedure.

See Also

Backup and Restore Tables (Transact-SQL)
restorefile (Transact-SQL)
restorehistory (Transact-SQL)
System Tables (Transact-SQL)