Disco-475330
Old Hand
Points: 393
More actions
December 14, 2007 at 10:30 am
#122760
whats the best way to dump a database in SQL Server 2005 since it is not necessary? any help would be appreciated..
Adam Haines
SSC-Insane
Points: 23217
December 14, 2007 at 10:46 am
#760372
If you want to delete a database you can:
USE [master]
GO
DROP DATABASE DATABASE_NAME
if you want to delete backup history you can
EXEC msdb.dbo.sp_delete_database_backuphistory @database_name = N'DATABASE_NAME'
December 14, 2007 at 10:48 am
#760373
You can even highlight a database in SSMS and click the delete key.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply