i created a backup of a db called test. next, i created another database called testbackedup. however, i cannot use the below sql to do the restore. i created the backup from task / backup. the restore from task does not work - it complains the database is in use.RESTORE DATABASE TestBackedUp FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Backup\Test.bak' with replace
Error:RESTORE cannot process database 'TestBackedUp' because it is in use by this session. It is recommended that the master database be used when performing this operation.Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormally.