How to rename the SQL Server database

SheoNarayan
Posted by SheoNarayan under Sql Server category on | Views : 2761
To rename the SQL Server database name, use following code

EXEC sp_renamedb 'OldDatabaseName', 'NewDatabaseName'

Comments or Responses

Login to post response