RESTORE DATABASE [DATABASE NAME]
Taken from
http://www.execsql.com/post/bringing-a-database-out-of-restoring-state-in-sql-server-2005
A collection of tips and findings from a UK based Dynamics CRM Consultant
For a renamed computer that hosts a default instance of SQL Server, run the following procedures:
Restart the instance of SQL Server.
For a renamed computer that hosts a named instance of SQL Server, run the following procedures:
Restart the instance of SQL Server.
Then:
SELECT @@SERVERNAME AS 'Server Name'
From:
http://msdn.microsoft.com/en-us/library/ms143799.aspx