How do you rename a SQL Server database?
ALTER DATABASE oldName MODIFY NAME = newName ;
Hi, I hope you are aware that you must be careful to change all references to it at the same time, or things will break. I recommend to check that info on my favorite Blog for SQL Server DBAs and Developers https://codingsight.com/ and stay on the safe side. The articles are mainly focused on SQL Server database and Microsoft stack technologies. Good luck