Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.42 KB

sysopentapes-transact-sql.md

File metadata and controls

38 lines (30 loc) · 1.42 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sysopentapes (Transact-SQL)
sysopentapes (Transact-SQL)
VanMSFT
vanto
06/10/2016
sql
system-objects
reference
sysopentapes
sysopentapes_TSQL
backup media [SQL Server], sysopentapes system table
sysopentapes system table
TSQL

sysopentapes (Transact-SQL)

[!INCLUDE SQL Server]

Contains one row for each currently open tape device. This view is stored in the master database.

Important

This system table is included as a view for backward compatibility. Instead, use the sys.dm_io_backup_tapes (Transact-SQL) dynamic management view.

Note

You cannot drop the sysopentapes view.

Column name Data type Description
openTape nvarchar(64) Physical file name of open tape device. For more information about opening and releasing tape devices, see BACKUP (Transact-SQL) and RESTORE (Transact-SQL).

Permissions

The user needs VIEW SERVER STATE permission on the server.