Export (0) Print
Expand All
Expand Minimize

How to delete data or log files from a database (Enterprise Manager)

SQL Server 2000

How to delete data or log files from a database (Enterprise Manager)

To delete data or log files from a database

  1. Expand a server group, and then expand a server.

  2. Expand Databases, right-click the database from which to delete the data or log files, and then click Properties.

  3. To delete data files, click the General tab. To delete log files, click the Transaction Log tab.

  4. In the File name column, click the arrow next to the name of the file to delete, and then press the DELETE key. A cross will appear next to the file name indicating that the file will be deleted.

Note  Files can be deleted only if they are empty. Remove all objects on the files and shrink the database before deleting files from the database.

See Also

Adding and Deleting Data and Log Files

Show:
© 2014 Microsoft