i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alter databasename in Sql
04-09-2014, 06:26 AM
Post: #1
Alter databasename in Sql
Code:
USE [master];
GO
ALTER DATABASE Currentdbname SET Multi_User WITH ROLLBACK IMMEDIATE;
GO
EXEC sp_renamedb N'Currentdbname', N'NewName';




“A mind stretched by a new idea can never go back to its original dimension.”

Quote




User(s) browsing this thread: 1 Guest(s)