sysopentapes (Transact-SQL)
Contains one row for each currently open tape device. This view is stored in the master database.
Important
This Microsoft SQL Server 2000 system table is included as a view for backward compatibility. Instead, use the sys.dm_io_backup_tapes dynamic management view.
Note
In SQL Server 2005, 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.
See Also
Reference
Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views