in this example I am renaming the test2 database to test3 database
alter database [test2]
set single_user
GO
alter database [test2]
modify name = [test3]
alter database [test3]
set multi_user
alter database [test2]
set single_user
GO
alter database [test2]
modify name = [test3]
alter database [test3]
set multi_user
No comments:
Post a Comment