Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

sysopentapes (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

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

System_CAPS_importantImportant

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

System_CAPS_noteNote

You cannot drop the sysopentapes view.

Applies to: SQL Server (SQL Server 2008 through current version).

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).

The user needs VIEW SERVER STATE permission on the server.

Community Additions

ADD
Show:
© 2015 Microsoft