Select master first
USE master;
GO
ALTER DATABASE Logistics SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE Logistics MODIFY NAME = Logistics_Org ;
GO
ALTER DATABASE Logistics_Org SET MULTI_USER
GO
Visit the blog for .Net FAQ,.Net interview questions,ASP .Net FAQ, C# .Net FAQ,ASP .Net interview questions, interview question on .Net, interview questions on C#.
No comments:
Post a Comment