sysopentapes (Transact-SQL)


Updated: June 10, 2016

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

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

System_CAPS_ICON_important.jpg 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.

System_CAPS_ICON_note.jpg Note

You cannot drop the sysopentapes view.

Column nameData typeDescription
openTapenvarchar(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