sysopentapes (Transact-SQL)

sysopentapes (Transact-SQL)

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

Important note Important

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

Note Note

In SQL Server 2005 and later versions, you cannot drop the sysopentapes view.

Column name

Data type




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

© 2015 Microsoft