Are you talking about the "overwrite the existing database" option? I have that set.I'm doing this in a stored procedure where I pass the new database.ALTER PROCEDURE [dbo].[RestoreMGSMonthDatabase]( @month varchar(100))ASBEGIN DECLARE @location1 varchar(1000), @location2 varchar(1000), @location3 varchar(1000), @month_db varchar(100) SET @month_db = 'MGSDB_' + @month SET @location1 = 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\' + @month_db + '.BAK' SET @location2 = 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\' + @month_db + '.mdf' SET @location3 = 'E:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\' + @month_db + '_1.ldf' RESTORE DATABASE [@month_db] FROM DISK = @location1 WITH FILE = 1, MOVE N'MGSDB' TO @location2, MOVE N'MGSDB_log' TO @location3, NOUNLOAD, REPLACE, STATS = 10END