SQL Server: Rename Database

USE master
GO
EXEC sp_renamedb N'Database1', N'Database2';  
GO
This entry was posted in SqlServer. Bookmark the permalink.